Commit 6051e20f by kaisa

feat:优化音乐播放逻辑

parent b7bd9baf
Showing with 0 additions and 9 deletions
......@@ -116,23 +116,14 @@ function betSound() {
}
// 中奖音效
function betWin() {
if (mAudios.bgm.muted) {
return;
}
mAudios.betWin.play();
}
// 未中奖音效
function betLose() {
if (mAudios.bgm.muted) {
return;
}
mAudios.betLose.play();
}
// 爆炸音效
function betBoom() {
if (mAudios.bgm.muted) {
return;
}
mAudios.boom.play();
}
// 火箭升空音效
......
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