itch.io is community of indie game creators and players

Devlogs

Better collisions added!

2D gravity simulator
A downloadable project

Two particles about to collide:

After a few hours of my life wasted, I finally improved the collisions!

When 2 particles collide the one with a higher mass gets bigger and has more M A S S. (other gets deleted)

If 2 particles with the same mass collide a random one gets bigger and has more M A S S. (other gets deleted)

Files

  • 2D grav sim v1.0.0 for Windows 22 MB
    Aug 22, 2022
Leave a comment