Commit 5b381593 authored by 李维's avatar 李维

goodjob和结束音频不同时播放

parent de2d5ed4
...@@ -727,6 +727,7 @@ cc.Class({ ...@@ -727,6 +727,7 @@ cc.Class({
playDragonBoneAnimation(this.coolcat, 'right', -1); playDragonBoneAnimation(this.coolcat, 'right', -1);
this.playAudioByUrl(this.data.rightAudio,()=>{ this.playAudioByUrl(this.data.rightAudio,()=>{
playDragonBoneAnimation(this.coolcat, 'normal', -1); playDragonBoneAnimation(this.coolcat, 'normal', -1);
this.tryFinish();
this._can_tap = true; this._can_tap = true;
}) })
...@@ -740,7 +741,7 @@ cc.Class({ ...@@ -740,7 +741,7 @@ cc.Class({
sprite.color = this._color; sprite.color = this._color;
// sprite.word.node.color = cc.Color.WHITE; // sprite.word.node.color = cc.Color.WHITE;
this.tryFinish();
// // console.log('area:' + sprite.t_idx); // // console.log('area:' + sprite.t_idx);
// let find_id = this._ids.indexOf(sprite.t_idx + ''); // let find_id = this._ids.indexOf(sprite.t_idx + '');
......
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