Reworking the junkmap

This commit is contained in:
2014-06-12 23:41:40 -07:00
parent de567247cf
commit 1a271ed300

View File

@@ -28,7 +28,7 @@ var game = new Phaser.Game(640, 480, Phaser.AUTO, '');
// Create torch objects
// Light constructor
var Light = function(game, x, y, key, frame, radius, fade, color, flicker) {
console.log("Making a light at " + x + "," + y);
console.log("Making a light : " + [x, y, key, frame, radius, face, color, flicker]);
color = ( typeof color == undefined ? [255, 255, 255] : color );
fade = ( typeof fade == undefined ? 0.25 : fade );
radius = ( typeof radius == undefined ? 64 : radius );