I like Kerbal Space Program, but it has its share of problems.
It's not Free, or even free. And it's kinda resource intensive.
So I'm trying to make a minimalist version. I believe the accepted
terminology for this kind of stripped-down-to-the-bare-essentials
reimplementation is "demake".
The plan:
* A 2D solar system. Planets are circles.
* Patched conics orbital simulation.
* Ships are point masses with no physics, but ship rotation,
centre-of-mass-versus centre-of-thrust, atmospheric drag,
fins and landing legs should be doable.
* Initial target is web browser with canvas, but I would ultimately
like a port to my favourite 8-bit platform, the BBC micro[1].
* The name of the game is _Little Green Men_.
What needs doing:
* Real-time simulation. Polar coordinates may be the way forward
here.
* Fast-forwardable simulation. AFAICT the best way to do this is by
solving Kepler's equation.
* Map screen. I've been implementing a Bresenham-type algorithm for
rendering arbitrary conics from
http://www.scism.lsbu.ac.uk/vgru/ManosPhDthesis.pdf .
* Sphere of influence.
* Checking the maths very carefully on all the above. I am not an
expert on orbital mechanics, but it can't be rocket science, right?
Oh, wait...
* Design a solar system. I'd like a green-themed homeworld (I
considered calling it "Forest" a la LeGuin), the rest is up for grabs.
* Ship builder. Balancing.
* Pixel art for ship components (capsule, tanks, engines, ...). Ship is
always pointing straight up and the world rotates around it.
* Flight control graphics (nav"ball", altimeter, ...).
* Any other graphics. Title screen.
* Music. In KSP, when you make it into SPACE! nice music plays.
Here the music will be
https://sphere.chronosempire.org.uk/~HEx/mpjs/#mods/newmods/hyper12.xm .
I have about 90% of a Beeb playroutine written. (I know, doing such
a non-essential part first shows misplaced priorities but I couldn't
resist.)
Out at least for now:
* Multiple objects. You detach a stage, it's gone.
=> One mission at a time. No docking.
* Any actual aerodynamics. No planes.
* EVA.
As usual, the limiting factor in any of this taking shape will be
enthusiasm. So while I'd much appreciate help in actually writing it,
equally as important is people to talk to and persuade me that writing
it is worthwhile ("enthusiasm sources").
Who's in?
Tom.
[1] Thirty-two kilobytes of RAM? It was enough to go to the moon, it
was enough for you!
https://www.youtube.com/watch?v=d85p7JZXNy8