add over1500 combo sound
This commit is contained in:
parent
16f3366acf
commit
806b21df08
@ -63,6 +63,7 @@ var assets = {
|
|||||||
"combo-1200-meka.wav",
|
"combo-1200-meka.wav",
|
||||||
"combo-1300-meka.wav",
|
"combo-1300-meka.wav",
|
||||||
"combo-1400-meka.wav",
|
"combo-1400-meka.wav",
|
||||||
|
"combo-over1500-meka.wav",
|
||||||
"fullcombo-meka.wav",
|
"fullcombo-meka.wav",
|
||||||
|
|
||||||
"song-select.wav",
|
"song-select.wav",
|
||||||
@ -94,7 +95,8 @@ var assets = {
|
|||||||
"combo-1200.wav",
|
"combo-1200.wav",
|
||||||
"combo-1300.wav",
|
"combo-1300.wav",
|
||||||
"combo-1400.wav",
|
"combo-1400.wav",
|
||||||
|
"combo-over1500.wav",
|
||||||
|
|
||||||
"fullcombo.wav",
|
"fullcombo.wav",
|
||||||
"gamefullcombo.wav",
|
"gamefullcombo.wav",
|
||||||
"gameclear.wav",
|
"gameclear.wav",
|
||||||
|
@ -413,8 +413,8 @@ class Game{
|
|||||||
if(this.combo > this.globalScore.maxCombo){
|
if(this.combo > this.globalScore.maxCombo){
|
||||||
this.globalScore.maxCombo = this.combo
|
this.globalScore.maxCombo = this.combo
|
||||||
}
|
}
|
||||||
if(this.combo === 50 || this.combo > 0 && this.combo % 100 === 0 && this.combo <= 1400){
|
if(this.combo === 50 || this.combo > 0 && this.combo % 100 === 0){
|
||||||
this.controller.playSoundMeka("combo-" + this.combo)
|
this.controller.playSoundMeka("combo-" + (this.combo <= 1400 ? this.combo : "over1500"))
|
||||||
}
|
}
|
||||||
this.view.updateCombo(this.combo)
|
this.view.updateCombo(this.combo)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user