From 170b1124e34a25aabf9d58c646b471d3fc8bd6c9 Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Sat, 14 Jun 2014 00:10:22 -0700 Subject: [PATCH] Add positional sounds from the tilemap --- moonlight/gfx/bigmap.json | 2 +- moonlight/js/moonlight-skulk.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/moonlight/gfx/bigmap.json b/moonlight/gfx/bigmap.json index 6545917..890077f 100644 --- a/moonlight/gfx/bigmap.json +++ b/moonlight/gfx/bigmap.json @@ -215,7 +215,7 @@ { "gid":17, "height":0, - "name":"", + "name":"backgroundmusic", "properties": { "sound_key":"background_music", diff --git a/moonlight/js/moonlight-skulk.js b/moonlight/js/moonlight-skulk.js index 737e87b..23537d9 100644 --- a/moonlight/js/moonlight-skulk.js +++ b/moonlight/js/moonlight-skulk.js @@ -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;