This works best in fullscreen! Press R to restart.

This was also made entirely in the HTML canvas with vanilla JS.

Press R to restart. Click to make a planet. Press space to pause/unpause the game. Scroll to change the radius and mass of your planet. Press F to toggle locking your planet. When you place a locked planet, it can not move but still attracts other planets. You can drag back on an already existing planet or drag back while making a new one to give it velocity. If you scroll into the negatives, you will get *DARK MATTER* ooohh. Dark matter has no collisions, attracts other dark matter, and repels normal matter. Now it is time for the settings (the section on the right.) You can press the white arrow to make the settings collapse or un-collapse. On the right of the settings, there is a bar containing multiple planets and stars (celestial bodies for nerds). You can scroll in the bar to find more celestial bodies and when you click on one, it will change the texture of the planet you place to that celestial body. This does not affect the mechanics of the planet. On the left of the settings are the planet mechanics. There, you can set the mass of the planet separate from the radius of it. When you scroll, the mass and radius will keep the same ratio. Below that are the types of mass you can place (besides dark matter). Normal is normal. If something touches a destructive planet, the thing will get OBLITERATED. If an unstable planet touches something, the unstable planet will get OBLITERATED and will blast other planets away from it.


Leave a comment

Log in with itch.io to leave a comment.