Spaceship flyer

 from Red Blob Games
23 Apr 2022

Back in 2009[1] and again in 2021 I tried making a project where you’d move around a spaceship’s thrusters and the system would figure out which thrusters to fire for the WASD keys. I got excited about it because it seemed like an interesting algorithmic problem. But I don’t think it led to something fun. So I’m ripping out the numeric solver part of the code and am going to play with physics instead (friction, air resistance, terminal velocity, etc.).

Click to focus


  1. model should have z values, not sure if it’s worth it until I try it
  2. some indicator of thrusters being active

Also see this reference[2] for car physics.

Email me , or tweet @redblobgames, or comment: