Reworking the junkmap

This commit is contained in:
2014-06-12 23:31:36 -07:00
parent 3d1bc45544
commit 09a3c6ec07

View File

@@ -862,8 +862,7 @@ GameState.prototype.create = function()
// Create the lights
this.staticLights = game.add.group();
//this.map.createFromObjects('Lights', 97, null, 0, true, false, this.staticLights, Light);
this.map.createFromObjects('Lights', 97, 'player', 0);
this.map.createFromObjects('Lights', 97, 'player', 0, true, false, this.staticLights, Light);
// for (i = 0; i < 50 ; i++ ) {
// this.staticLights.add(