Reworking the junkmap
This commit is contained in:
@@ -810,6 +810,7 @@ GameState.prototype.create = function()
|
|||||||
this.physics.arcade.enable(player);
|
this.physics.arcade.enable(player);
|
||||||
player.body.center = new Phaser.Point(player.body.width / 2, player.body.height + player.body.halfHeight);
|
player.body.center = new Phaser.Point(player.body.width / 2, player.body.height + player.body.halfHeight);
|
||||||
player.body.collideWorldBounds = true;
|
player.body.collideWorldBounds = true;
|
||||||
|
player.debug = true;
|
||||||
|
|
||||||
addAnimation(player, 'bipedwalkleft');
|
addAnimation(player, 'bipedwalkleft');
|
||||||
addAnimation(player, 'bipedwalkright');
|
addAnimation(player, 'bipedwalkright');
|
||||||
|
|||||||
Reference in New Issue
Block a user