More wandering sprite work

This commit is contained in:
2014-06-11 21:09:22 -07:00
parent 66c6cc8ec6
commit 3097f4912d

View File

@@ -439,6 +439,10 @@ GameState.prototype.update = function()
this.check_input();
this.physics.arcade.collide(player, layer);
this.wanderingSprites.iterate(exists, true, function(x) {
this.physics.arcade.collide(x);
});
//this.movingLight.x = player.x;
//this.movingLight.y = player.y;
this.updateShadowTexture();