Add positional sounds from the tilemap
This commit is contained in:
@@ -106,7 +106,7 @@ SoundSprite.prototype.update_new_values = function() {
|
|||||||
console.log("Sound should be playing");
|
console.log("Sound should be playing");
|
||||||
}
|
}
|
||||||
|
|
||||||
SoundSprite.prototype.adjust_relative_to = function(spr) {
|
SoundSprite.prototype.adjust_relative_to = function(me, spr) {
|
||||||
if ( this.sound_nofade == true ) {
|
if ( this.sound_nofade == true ) {
|
||||||
this.sound.volume = 1.0;
|
this.sound.volume = 1.0;
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user