Turned dynamic lights back on

This commit is contained in:
2014-06-12 00:24:42 -07:00
parent 90e89640a5
commit 91d873c0d5

View File

@@ -541,11 +541,11 @@ GameState.prototype.create = function()
// Create the lights // Create the lights
this.staticLights = game.add.group(); this.staticLights = game.add.group();
for (i = 0; i < 20 ; i++ ) { for (i = 0; i < 50 ; i++ ) {
this.staticLights.add( this.staticLights.add(
new Light(game, new Light(game,
game.rnd.integerInRange(0, game.width), game.rnd.integerInRange(0, game.world.width),
game.rnd.integerInRange(0, game.height), game.rnd.integerInRange(0, game.world.height),
game.rnd.integerInRange(0, 128), game.rnd.integerInRange(0, 128),
game.rnd.realInRange(0.0, 1.0), game.rnd.realInRange(0.0, 1.0),
[ [