more combo sounds

This commit is contained in:
Bui 2018-08-27 20:34:40 +01:00
parent ad79a77c51
commit 68e9379baf
2 changed files with 28 additions and 0 deletions

View File

@ -42,6 +42,13 @@ var assets = {
'combo-500.wav',
'combo-600.wav',
'combo-700.wav',
'combo-800.wav',
'combo-900.wav',
'combo-1000.wav',
'combo-1100.wav',
'combo-1200.wav',
'combo-1300.wav',
'combo-1400.wav',
'song-select.wav',
'title.ogg',
'pause.wav',

View File

@ -341,6 +341,27 @@ function Game(controller, selectedSong, songData){
case 700:
controller.playSound("combo-700");
break;
case 800:
controller.playSound("combo-800");
break;
case 900:
controller.playSound("combo-900");
break;
case 1000:
controller.playSound("combo-1000");
break;
case 1100:
controller.playSound("combo-1100");
break;
case 1200:
controller.playSound("combo-1200");
break;
case 1300:
controller.playSound("combo-1300");
break;
case 1400:
controller.playSound("combo-1400");
break;
}
}