Two dimensional gravity simulator
Hi,
This is a little game I made: as the title suggests is simulates gravity and it's in 2d, there's no real objective, just throw some planets in the sim and enjoy the show(yes these little grey discs that bounce off one another like pingpong balls are supposed to be planets).
Here is a video(the lag comes from fraps, I never experienced lag from the game alone, even with hundreds of objects):
The controls are:
arrow keys: move the screen
left mouse button: grab a planet, move a planet(hold it down)
right mouse button: add a small planet(hold the butteon and move the mouse, then release the button to give the planet some initial velocity)
space: pause, you can add planets while the game is on pause
It usually runs quite smoothly even on old computers, the collisions are a bit buggy.
So here it is:
Attachment:
grav8.rar [249.52 KiB]
Downloaded 298 times