Add positional sounds from the tilemap
This commit is contained in:
@@ -215,7 +215,7 @@
|
||||
{
|
||||
"gid":17,
|
||||
"height":0,
|
||||
"name":"",
|
||||
"name":"backgroundmusic",
|
||||
"properties":
|
||||
{
|
||||
"sound_key":"background_music",
|
||||
|
||||
@@ -100,11 +100,9 @@ SoundSprite.prototype.update_new_values = function() {
|
||||
this.sound_volume,
|
||||
this.sound_loop,
|
||||
this.sound_forcerestart);
|
||||
console.log("Sound should be playing");
|
||||
}
|
||||
|
||||
SoundSprite.prototype.adjust_relative_to = function(spr) {
|
||||
console.log(spr);
|
||||
if ( this.sound_nofade == true ) {
|
||||
this.sound.volume = 1.0;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user