From 5eac1c3f14c9554297552f5c655bae484f77f656 Mon Sep 17 00:00:00 2001 From: Bui Date: Sun, 5 Aug 2018 21:27:45 +0100 Subject: [PATCH] update sfx --- src/js/assets.js | 3 ++- src/js/songselect.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/js/assets.js b/src/js/assets.js index 266fba4..2228027 100644 --- a/src/js/assets.js +++ b/src/js/assets.js @@ -36,7 +36,8 @@ var assets = { 'combo-400.wav', 'combo-500.wav', 'combo-600.wav', - 'combo-700.wav' + 'combo-700.wav', + 'song-select.wav' ), songs: new Array(), diff --git a/src/js/songselect.js b/src/js/songselect.js index c90c7af..7e0d70a 100644 --- a/src/js/songselect.js +++ b/src/js/songselect.js @@ -51,6 +51,7 @@ function SongSelect(){ this.createCode = function(){ + assets.sounds["song-select"].play(); for(var i=0; i