This commit is contained in:
Eric Rosenbaum 2016-12-05 14:22:15 -05:00
parent 645a080b89
commit c71ccbb020

View file

@ -73,6 +73,7 @@ AudioEngine.prototype.loadSounds = function (sounds) {
// the sound buffers will be added asynchronously as they load
for (var i=0; i<sounds.length; i++){
this.soundPlayers[i] = new SoundPlayer(this.effectsNode);
console.log(sounds[i].fileUrl);
}
// load the sounds- most sounds decode natively, but for adpcm sounds