diff --git a/moonlight/js/moonlight-skulk.js b/moonlight/js/moonlight-skulk.js index aac8772..ee41f9b 100644 --- a/moonlight/js/moonlight-skulk.js +++ b/moonlight/js/moonlight-skulk.js @@ -300,7 +300,7 @@ GameState.prototype.create = function() } this.shadowTexture = game.add.bitmapData(game.world.width, game.world.height); - this.shadowTextureColor = 'rgb(25, 25, 25)'; + this.shadowTextureColor = 'rgb(50, 50, 50)'; // Create an object that will use the bitmap as a texture this.shadowSprite = game.add.image(0, 0, this.shadowTexture); @@ -441,7 +441,7 @@ GameState.prototype.update = function() this.physics.arcade.collide(player, layer); this.wanderingSprites.iterate('exists', true, function(x) { - this.physics.arcade.collide(x); + this.physics.arcade.collide(x, layer); }); //this.movingLight.x = player.x; //this.movingLight.y = player.y;