More wandering sprite work
This commit is contained in:
@@ -440,7 +440,7 @@ GameState.prototype.update = function()
|
|||||||
this.check_input();
|
this.check_input();
|
||||||
this.physics.arcade.collide(player, layer);
|
this.physics.arcade.collide(player, layer);
|
||||||
|
|
||||||
this.wanderingSprites.iterate(exists, true, function(x) {
|
this.wanderingSprites.iterate('exists', true, function(x) {
|
||||||
this.physics.arcade.collide(x);
|
this.physics.arcade.collide(x);
|
||||||
});
|
});
|
||||||
//this.movingLight.x = player.x;
|
//this.movingLight.x = player.x;
|
||||||
|
|||||||
Reference in New Issue
Block a user