From: MegaBrutal Date: Mon, 24 Apr 2017 01:29:13 +0000 (+0200) Subject: Changed player starting position X-Git-Url: http://git.megabrutal.com/?p=ld38.git;a=commitdiff_plain;h=4a2df5698edfda465acb721ecee7b88477437de4;hp=daacc352d8e89fe922cf1948ab8ff5dad83b7e3f Changed player starting position modified: ld38.js --- diff --git a/ld38.js b/ld38.js index 3b58c48..c5c6755 100644 --- a/ld38.js +++ b/ld38.js @@ -93,7 +93,7 @@ gems.add(new Gem((Math.random() * (game.world.width - (WALL_THICKNESS * 4))) + (WALL_THICKNESS * 2), (Math.random() * (game.world.height - (WALL_THICKNESS * 4))) + (WALL_THICKNESS * 2))); gems.children.forEach(function(gem) { gem.enablePhysics(); }); - player = new Player(64, game.world.height - 200, 'player'); + player = new Player(128, game.world.height - 128, 'player'); player.enablePhysics(); game.add.existing(player); game.camera.follow(player);