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_player = function(spr) {
|
SoundSprite.prototype.adjust_relative_to = function(spr) {
|
||||||
console.log(spr);
|
console.log(spr);
|
||||||
if ( this.sound_nofade == true ) {
|
if ( this.sound_nofade == true ) {
|
||||||
this.sound.volume = 1.0;
|
this.sound.volume = 1.0;
|
||||||
|
|||||||
Reference in New Issue
Block a user