From da77826018caa9b12f176d031acd36d6488546df Mon Sep 17 00:00:00 2001 From: Andrew Kesterson Date: Thu, 12 Jun 2014 23:42:55 -0700 Subject: [PATCH] Reworking the junkmap --- moonlight/js/moonlight-skulk.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/moonlight/js/moonlight-skulk.js b/moonlight/js/moonlight-skulk.js index bb64dcd..4f53b3d 100644 --- a/moonlight/js/moonlight-skulk.js +++ b/moonlight/js/moonlight-skulk.js @@ -33,6 +33,8 @@ var Light = function(game, x, y, key, frame, radius, fade, color, flicker) { fade = ( typeof fade == undefined ? 0.25 : fade ); radius = ( typeof radius == undefined ? 64 : radius ); flicker = ( typeof flicker == undefined ? false : flicker ); + console.log("Making a light : " + [x, y, key, frame, radius, fade, color, flicker]); + Phaser.Sprite.call(this, game, x, y, null); // Set the pivot point for this sprite to the center