Proof of concept newtonian gravity simulator using godot's physics engine. You can control a little ship in a 2D simulation.
Live demo at: https://space-explorer.pages.dev/
The desktop version looks much prettier though due to lossy texture compression required to run this on the web.
- Left/Right arrow to spin the ship
- Up/Down to accelerate and decelerate
- You can control the simulation speed, display vectors paths with the controls on the HUD
- Spacebar pause
- backspace resets the level
You can use the numbers (not numpad ones) to set the simulation speed.
- Numpad arrows to detach from the ship and move the camera around: 2 6 4 8
- '+' to zoom in
- '-' to zoom out
- = resets zoom
- 0 Goes back to the tracked object
- '/' to track back to the player
You can also control the camera with mouse dragging and scroll wheel for zooming.
By hovering on stars you can see their information and if you click you will start tracking them.
- Find a better way to slow down the simulation
- Fix body colisions instead of orbiting
- Fix paralax background when zooming out
- Add animations for flames
- Control camera with mouse
- Add refuel
- Add levels!
- godot gravity sim - 10 [0/3]
- giant stars have a life to explode or not
- Fuel consuming ballistics (explode stars and get random fuel proportional to their mass?) ??
- Start menu [0/3]
- Sandbox level [0/3]
- right click to add start
- Little star props menu
- Show vectors while editing
- Random generated level [0/1]
- ??
- Build win and linux releases
- Sandbox level [0/3]