diff --git a/javascripts/game.js b/javascripts/game.js index 65d4371..c046f04 100644 --- a/javascripts/game.js +++ b/javascripts/game.js @@ -83,6 +83,7 @@ function fireBullet () { // And fire it bullet.reset(player.x, player.y + 8); bullet.body.velocity.y = -400; + bullet.body.velocity.x = player.body.velocity.x / 4 bulletTime = game.time.now + 500; } }