Add positional sounds from the tilemap

This commit is contained in:
2014-06-13 23:45:37 -07:00
parent 1e07e02fbc
commit a7ba778959

View File

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