Commit 560a773f authored by 李维's avatar 李维

Add star boom audio

parent b6b39ad9
......@@ -322,6 +322,7 @@ export default class GameLogic {
this.g_cartoon.tweenChange(card_1.node, {x: x_2, y: y_2}, 1, ()=>{
cardStar_1.node.opacity = 255;
cardStarAni_1.play()
this.g_cartoon.playAudio("star_boom")
cardStarAni_1.on("finished", ()=>{
cardStar_1.node.opacity = 0;
})
......
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