Not really a game, more of a unrealistic orbit-simulator made in Elm.
The initial version was made on my flight home from #socratesUK 2016.
Get Elm 0.17, then:
elm package install -y
elm-reactor
And visit http://localhost:8000/Main.elm.
This will create a "index.html" containing all the needed javascript. You also need the images in textures/
.
elm make Main.elm
If I get around to it I'd like to...
- Get orbits to work when more planets have gravity
- Orient the planets toward the sun at all times so that the textures match
- Stable orbital physics. Probably slower orbits, but be able to speed up time to debug.
- Twinkling stars.
- Merge this into my other game (adds player code, moving perspective, hot code swapping, etc)
- Step1: Copy the star field, make it scroll.
Textures are from "planets16.zip", CC-BY-SA licence by Viktor.Hahn@web.de. Comes from http://opengameart.org/content/16-planet-sprites.
Copyright (c) 2016 Joakim Kolsjö
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.