Reworking the junkmap

This commit is contained in:
2014-06-12 22:31:25 -07:00
parent c03a9a9a45
commit 68b2d82d40

View File

@@ -807,6 +807,7 @@ GameState.prototype.create = function()
player = this.add.sprite((3 * 32), (17 * 32), 'player');
this.physics.arcade.enable(player);
player.body.center = new Phaser.Point(player.body.width / 2, player.body.height);
player.body.collideWorldBounds = true;
addAnimation(player, 'bipedwalkleft');