From 661b313fb6c464d262f2857f4a5a9e1abecfd577 Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Thu, 12 Jun 2014 23:32:48 -0700 Subject: [PATCH] Reworking the junkmap --- moonlight/js/moonlight-skulk.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moonlight/js/moonlight-skulk.js b/moonlight/js/moonlight-skulk.js index f1385ad..6272e3b 100644 --- a/moonlight/js/moonlight-skulk.js +++ b/moonlight/js/moonlight-skulk.js @@ -40,7 +40,8 @@ var Light = function(game, x, y, key, frame, radius, fade, color, flicker) { this.fade = radius * fade this.rect = new Phaser.Rectangle(this.x - radius, this.y - radius, radius * 2, radius * 2) this.flicker = flicker; - + console.log("Light is ready"); + console.log(this); }; // Lightes are a type of Phaser.Sprite @@ -899,7 +900,6 @@ GameState.prototype.updateShadowTexture = function() { // Iterate through each of the lights and draw the glow this.staticLights.forEach(function(light) { - console.log("Drawing light " + light); // Don't draw lights that aren't on screen var r1 = new Phaser.Rectangle(this.game.camera.x, this.game.camera.y,