Add positional sounds from the tilemap

This commit is contained in:
2014-06-13 23:54:32 -07:00
parent ca8433c0e7
commit 40dcaed0f5

View File

@@ -128,7 +128,7 @@ SoundSprite.prototype.adjust_relative_to = function(spr) {
); );
this.sound.volume = 1.0 - Math.max(1.0, Number(hyp / hyp_perfect)); this.sound.volume = 1.0 - Math.max(1.0, Number(hyp / hyp_perfect));
); console.log([hyp_perfect, hyp, Number(hyp / hyp_perfect), this.sound.volume]);
} }
var moonlightSettings = { var moonlightSettings = {