Commit 844169bc authored by Lwd's avatar Lwd

commit

parent 58e76e87
...@@ -145,6 +145,8 @@ var game = cc.Class({ ...@@ -145,6 +145,8 @@ var game = cc.Class({
this._timeoutIds.push(setTimeout(() => { this._timeoutIds.push(setTimeout(() => {
this.UpdataUi(); this.UpdataUi();
//播放题干
this.playAudioTitle();
}, 1000)); }, 1000));
} }
}, },
...@@ -174,6 +176,8 @@ var game = cc.Class({ ...@@ -174,6 +176,8 @@ var game = cc.Class({
LWD_3.res_mgr.playAudioByUrl(path, (url) => { LWD_3.res_mgr.playAudioByUrl(path, (url) => {
LWD_3.snd_mgr.playEffect(url, () => { LWD_3.snd_mgr.playEffect(url, () => {
this.nodMask.active = false; this.nodMask.active = false;
//播放题干
this.playAudioTitle();
}) })
}) })
}, },
...@@ -194,8 +198,8 @@ var game = cc.Class({ ...@@ -194,8 +198,8 @@ var game = cc.Class({
this.playCatDragon("begin"); this.playCatDragon("begin");
this.playLionDragon("normal"); this.playLionDragon("normal");
//播放题干 // //播放题干
this.playAudioTitle(); // this.playAudioTitle();
//重置UI界面 //重置UI界面
this.resetUI(); this.resetUI();
...@@ -281,6 +285,9 @@ var game = cc.Class({ ...@@ -281,6 +285,9 @@ var game = cc.Class({
//更新界面 //更新界面
this.UpdataUi(); this.UpdataUi();
//播放题干
this.playAudioTitle();
this.hideRestartBtn(); this.hideRestartBtn();
}, },
......
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