Reworking the junkmap
This commit is contained in:
@@ -807,7 +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.center = new Phaser.Point(player.body.width / 2, player.body.height + player.body.halfHeight);
|
||||
player.body.collideWorldBounds = true;
|
||||
|
||||
addAnimation(player, 'bipedwalkleft');
|
||||
|
||||
Reference in New Issue
Block a user