This is a tiny game where you can play with Newtonian Gravity.

All objects in the programm are attracted to each other with a certain force due to the law of universal gravitation. Any two bodies are attracted to each other with a force that is directly proportional to the mass of each and inversely proportional to the square of the distance between them.


Controls: 

LMB - add new dynamic object; S - add new static object

C - clear screen; Space - pause simulation

left/right keys - change the mass (yeah, negative mass is also possible)


this project on TIC-80 site: https://tic80.com/play?cart=3924      

StatusPrototype
PlatformsHTML5, Windows, macOS, Linux
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
Authork12t12
GenreSimulation
Made withTIC-80
Tags2D, Abstract, Demake, fantasy-console, Funny, Pixel Art, Retro, Sandbox, TIC-80
Average sessionA few minutes

Download

Download NowName your own price

Click download now to get access to the following files:

GS80_linux1.1 9 MB
GS80_mac1.1 7.4 MB
GS80_win1.2.exe 6.8 MB
old.zip 25 MB

Development log

Comments

Log in with itch.io to leave a comment.

(+1)

Haha, I don't really understand what it actually meant. anyway the sound is nice

And what exactly is the problem? All objects in the programm are attracted to each other with a certain force due to the law of universal gravitation. Any two bodies are attracted to each other with a force that is directly proportional to the mass of each and inversely proportional to the square of the distance between them.

(+1)

I thought, They are colliding each other lol😂. When I increased the mass so high all bodies fallen down like there's a gravity pulling it down but there were no bodies under it.

(+1)

Wow. If it's not difficult, can you take a screenshot? I just don't quite understand what exactly happened.