Commit e0257e72 by Shawn Wang

c

parent d0562263
......@@ -73,7 +73,7 @@ class Main extends egret.DisplayObjectContainer {
SoundManager.getInstance().play({soundName: "bgm_mp3", startTime: 0, loops: -1})
platform.onShareAppMessage((...args) => {
return {
title: "你已经被盯上了 ~",
title: "妈~ 我被撩了 !",
imageUrl: "https://ws4.sinaimg.cn/large/006tKfTcgy1fr1hg7dg9oj30nc0iota0.jpg"
}
})
......
......@@ -113,7 +113,6 @@ class Map extends egret.Sprite {
// egret.Tween.get(grid).to({ alpha: 1 }, 300)
// })
runners.forEach(runner => {
console.log(runner.x, runner.y, this.touchArea.hitTestPoint(runner.x * gridWidth, runner.y * gridHeight))
const runnerInMap = this.runnerMap[runner.t_cid]
if (this.touchArea.hitTestPoint(runnerInMap.x, runnerInMap.y)) {
runnerInMap.alpha = 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment