Commit 9c7305b5 by kaisa

feat:测试火箭升空音效统一关闭

parent 779fad78
Showing with 7 additions and 0 deletions
...@@ -120,6 +120,13 @@ function bgMusicClick() { ...@@ -120,6 +120,13 @@ function bgMusicClick() {
mAudios.boom.muted = true; mAudios.boom.muted = true;
mAudios.rocket.muted = true; mAudios.rocket.muted = true;
mAudios.water.muted = true; mAudios.water.muted = true;
mAudios.betWin.stop();
mAudios.betLose.stop();
mAudios.clock.stop();
mAudios.boom.stop();
mAudios.rocket.stop();
mAudios.water.stop();
} else { } else {
mAudios.betWin.muted = false; mAudios.betWin.muted = false;
mAudios.betLose.muted = false; mAudios.betLose.muted = false;
......
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 sign in to comment