Commit 21281ef2 by Shawn Wang

update

parent 65c2ac66
{
"groups": [
{
"keys": "bg_jpg,egret_icon_png,description_json,control_jpg,grid_jpg,logo_jpg,mask_jpg,grid_select_jpg,lighting_jpg,prop_heart_jpg,prop_light_jpg,catched_0_mp3,catched_1_mp3,catched_2_mp3,flirt_mp3,avatar_bg_jpg,bgm_mp3,transition_catcher_jpg,transition_runner_jpg",
"keys": "bg_jpg,egret_icon_png,description_json,control_jpg,grid_jpg,logo_jpg,mask_jpg,grid_select_jpg,lighting_jpg,prop_heart_jpg,prop_light_jpg,catched_0_mp3,catched_1_mp3,catched_2_mp3,flirt_mp3,avatar_bg_jpg,bgm_mp3,transition_catcher_jpg,transition_runner_jpg,blood_jpg",
"name": "preload"
}
],
......@@ -100,6 +100,11 @@
"name": "transition_runner_jpg",
"type": "image",
"url": "assets/transition_runner.jpg"
},
{
"name": "blood_jpg",
"type": "image",
"url": "assets/blood.jpg"
}
]
}
\ No newline at end of file
......@@ -21,6 +21,15 @@ class RoomScene extends egret.Sprite {
// sound.play();
// put display object to this scene
let tipsLabel = new egret.TextField()
tipsLabel.width = 1334
tipsLabel.y = 750 - 50
tipsLabel.x = 1334 / 2
tipsLabel.anchorOffsetX = 400
tipsLabel.size = 21
tipsLabel.text = "提示 : 一名成员将会随机成为 '迷雾撩手' 夺取其他成员的 ❤, 其它成员需要避免被撩"
this.addChild(tipsLabel)
}
public update(data) {
......@@ -64,7 +73,7 @@ class RoomScene extends egret.Sprite {
}
if (this.startLabel.text == 'Go!') {
clearInterval(timer)
const bg = Store.isCatcher ? this.transition_catcher_jpg : this.transition_runner_jpg
const bg = Store.isCatcher() ? this.transition_catcher_jpg : this.transition_runner_jpg
this.showTransition(bg, () => {
SceneManager.getInstance().changeScene('gameScene')
})
......
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