From 021ac5bd1eb457a7f96a5fd97837adcd2e18d313 Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Fri, 13 Jun 2014 02:03:22 -0700 Subject: [PATCH] Add wandering sprites back to map via map objects --- moonlight/js/moonlight-skulk.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/moonlight/js/moonlight-skulk.js b/moonlight/js/moonlight-skulk.js index d7887ec..4abd453 100644 --- a/moonlight/js/moonlight-skulk.js +++ b/moonlight/js/moonlight-skulk.js @@ -879,9 +879,9 @@ GameState.prototype.create = function() this.shadowTexture = game.add.bitmapData(game.world.width, game.world.height); // drop this lower to make the map darker - this.shadowTexturColor_Base = 30; - this.shadowTextureColor = 'rgb(30, 30, 30)'; - //this.shadowTextureColor = 'rgb(255, 255, 255)'; + //this.shadowTexturColor_Base = 30; + //this.shadowTextureColor = 'rgb(30, 30, 30)'; + this.shadowTextureColor = 'rgb(255, 255, 255)'; // Create an object that will use the bitmap as a texture this.shadowSprite = game.add.image(0, 0, this.shadowTexture); @@ -998,7 +998,6 @@ function setSpriteMovement(spr, running, dir) spr.body.velocity.y = y; } spr.body.setSize(16, 16, 8, 16); - } GameState.prototype.check_input = function()