Reworking the junkmap
This commit is contained in:
@@ -862,8 +862,7 @@ GameState.prototype.create = function()
|
|||||||
|
|
||||||
// Create the lights
|
// Create the lights
|
||||||
this.staticLights = game.add.group();
|
this.staticLights = game.add.group();
|
||||||
//this.map.createFromObjects('Lights', 97, null, 0, true, false, this.staticLights, Light);
|
this.map.createFromObjects('Lights', 97, 'player', 0, true, false, this.staticLights, Light);
|
||||||
this.map.createFromObjects('Lights', 97, 'player', 0);
|
|
||||||
|
|
||||||
// for (i = 0; i < 50 ; i++ ) {
|
// for (i = 0; i < 50 ; i++ ) {
|
||||||
// this.staticLights.add(
|
// this.staticLights.add(
|
||||||
|
|||||||
Reference in New Issue
Block a user