> the result varies depending on the FPS and your actions.
you should try to decouple physics simulation from your rendering code. (i.e. pass a constant/fixed dt to your simulation step). simulation should not depend on framerate.
But with a chaotic system like fluid dynamics, you wont get the same behaviour each time even if you do stuff like pass delta-t to the simulation. Sensitive dependence on initial conditions, and all that chaos theory stuff comes in to play.
That is, two run-throughs with very slightly different delta-t's will give different outcomes.
There's a difference between "numerical stability issues introduce small chaotic perturbations" and "the game is literally unbeatable if you play on platform X because the physics step doesn't properly scale Y to framerate and a trivial conservation-of-energy analysis yields an impossibility result for level 3".
It would be nice to have a vertical speed indication in the ship or nearby. Perhaps some semaphore like lights in the bottom of the ship. It's difficult to look simultaneously at the ship position and the speed indicator.
Also, sometimes adding an official name for each map somehow make the game look better. Nice game, I must try again because I lost all my ships in the "volcano" level. Edit: Putting the light to show the vertical speed in the landing pad may make more sense in universe. Also, the buildings look very similar to the old gorilla.bas game :). It would be nice to be able to disable the simulation in the introduction and final screen, so I can keep the page open to play later, without using too much battery.
"Space Taxi" added a bit more depth to the lunar lander concept by adding multiple pads and various vector fields for gravity to act in. Some game modes would accelerate you not downwards but instead towards the center of the map, away from it or around the center in a circle some way. Quite the brain-teaser for my kid brain back then that hadn't previously been exposed to physics/maths like that.
Exactly. This is at the moment nothing more than a nice technical demonstration. Actually my initial code implemented already mechanics for rotations. But then I skipped this feature for this entry. I was afraid the game gets too hard for landing.
This is great! I would love love a boat maneuver game with the same engine. A killer simulator would be one that takes into account wind and current, single vs multi-engine, bow thrusters, prop walk, etc.
Note that this is different from the sailing suggestion below, which has all kinds of three dimensional aspects to. Purely thinking about e.g. docking where all the controls you have is thrust and rudder.
Comments (127) 36 threads
Earlier commentsyou should try to decouple physics simulation from your rendering code. (i.e. pass a constant/fixed dt to your simulation step). simulation should not depend on framerate.
That is, two run-throughs with very slightly different delta-t's will give different outcomes.
Also, sometimes adding an official name for each map somehow make the game look better. Nice game, I must try again because I lost all my ships in the "volcano" level.
Edit:
Putting the light to show the vertical speed in the landing pad may make more sense in universe.
Also, the buildings look very similar to the old gorilla.bas game :).
It would be nice to be able to disable the simulation in the introduction and final screen, so I can keep the page open to play later, without using too much battery.
When I designed the buildings I thought actually about "Save New York" on the C64.
https://www.youtube.com/watch?v=ZMUvi6UIV3w
"pad 5 please"
"Space Taxi" added a bit more depth to the lunar lander concept by adding multiple pads and various vector fields for gravity to act in. Some game modes would accelerate you not downwards but instead towards the center of the map, away from it or around the center in a circle some way. Quite the brain-teaser for my kid brain back then that hadn't previously been exposed to physics/maths like that.
A hardcore mode would be rotating the ship instead of it always staying upright—like in Atari's version: http://moonlander.seb.ly/
Note that this is different from the sailing suggestion below, which has all kinds of three dimensional aspects to. Purely thinking about e.g. docking where all the controls you have is thrust and rudder.
All comments shown.
Couldn't load more comments. Check your connection and try again.