Commit f90c8d88 authored by Lwd's avatar Lwd

aaaa

parent 9c3aaba0
...@@ -21,6 +21,8 @@ var eff_well = cc.Class({ ...@@ -21,6 +21,8 @@ var eff_well = cc.Class({
showEff: function () { showEff: function () {
this.node.active = true; this.node.active = true;
this.eff_welldown.play(); this.eff_welldown.play();
//播放撒花音效
g.speaker.inst.play_congratulation();
setTimeout(() => { setTimeout(() => {
this.node.active = false; this.node.active = false;
}, 2000) }, 2000)
......
...@@ -61,12 +61,6 @@ var result = cc.Class({ ...@@ -61,12 +61,6 @@ var result = cc.Class({
this.frame_tips.active = true; this.frame_tips.active = true;
} }
else {
//播放撒花动画
g.eff_well.inst.showEff();
//播放撒花音效
g.speaker.inst.play_congratulation();
}
}, },
// 初始化文本 // 初始化文本
......
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