Geocentric Survival

Geocentric Survival

This game is from ldjam.com, which is currently unavailable.
You can try viewing the original page on Web Archive (may not load correctly).
overall: 3.48
fun: 3.49
innovation: 3.96
theme: 3.67
graphics: 2.82
audio: 2.96
humor: 2.42
mood: 2.82
The Universe has collapsed! Try to keep the Sun and Earth in a steady orbit, balance Earth's temperature and fight off Meteors!

Use Your mouse to spin the sun around. Every (clockwise) rotation will make a day pass and You will gain some energy.
But don't let the sun get too close or too far from the earth or humanity will freeze/(term-to-die-of-hotness).
You can also gain Energy by crushing Meteors with your sun and by clicking you can heal Yourself for some Energy.

Enjoy!

A little Info on how I made this:
Apart from jQuery this is all done with javascript and minimal HTML/CSS. There are no images used, everything is rendered on the Canvas at runtime (Even the stars are created programmatically). I did use and modify some function from previous projects for collision detection and some of the effects (Only the lightning bolt, the "break-apart"-animation and the stars if I remember correctly). If you are interested in using anything or want to know how it works let me know. I might be able to clear stuff up more quickly than if You try to make sense of the mess that is the code ;-)
Sounds are a result of me messing around with beepbox.co for half an hour. Never done that before, the result is pretty annoying :)
Let me know what you think!
Good Luck to Everyone!
Found a bug?
Tell us on Discord