Reworking the junkmap

This commit is contained in:
2014-06-12 22:36:53 -07:00
parent 79c9ab27ad
commit dfb38db360

View File

@@ -810,6 +810,7 @@ GameState.prototype.create = function()
this.physics.arcade.enable(player);
player.body.center = new Phaser.Point(player.body.width / 2, player.body.height + player.body.halfHeight);
player.body.collideWorldBounds = true;
player.debug = true;
addAnimation(player, 'bipedwalkleft');
addAnimation(player, 'bipedwalkright');