indexhever/asteroids-game

Spaceship movement

Closed this issue · 0 comments

  • The ship moves always towards the direction it is pointing.
  • When pressing the Up key the ship will receive a force towards its direction
  • If It does not receive movement it will gradually lose speed until it stops.
  • When holding the Up key it will increase its speed until a maximum speed when it stays at this maximum speed until the player releases the button.