audio update

This commit is contained in:
Bui
2019-12-24 18:10:40 +00:00
parent ff09cb83bd
commit 91e5127613
57 changed files with 44 additions and 35 deletions

View File

@@ -157,7 +157,7 @@ class Controller{
if(Math.round(score.gauge / 2) - 1 >= 25){
if(score.bad === 0){
vp = "fullcombo"
this.playSoundMeka("v_fullcombo", 1.350)
this.playSound("v_fullcombo", 1.350)
}else{
vp = "clear"
}
@@ -225,13 +225,6 @@ class Controller{
this.playedSounds[id] = ms
}
}
playSoundMeka(soundID, time){
var meka = ""
if(this.autoPlayEnabled && !this.multiplayer){
meka = "_meka"
}
this.playSound(soundID + meka, time)
}
togglePause(forcePause, pauseMove, noSound){
if(this.multiplayer === 1){
this.syncWith.game.togglePause(forcePause, pauseMove, noSound)