GameMaker Studio 2

N-Body Sim. Verlet Integration


You must be logged in to obtain assets

Contact Publisher | Support


This asset doesn't use built in Game Maker Studio physics functions. For best performance use YYC compiler

This is an n-body simulation using verlet integration.


  • you can change the parameters of the simulation
  • you can change the size of the balls
  • you can create a "mega ball" which is mouse controlled, this affects other balls in the simulation
  • you can create immovable balls (walls) which interact with other balls

This implementation has O(n2) complexity because GM:S doesn't support quad trees. With quad trees it is possible to have n-body simulation with O(n logn) complexity.

Download demo mirror1

Download demo mirror2

If you want to stay informed about my new assets Subscribe to my mailing list. You also receive a FREE asset for subscribing.

You can also follow me on Twitter (@smallbigsquare)

End User Licence Agreement (EULA).

Age Rating: 4+


GMS2 - Version 1.0.6. Published October 25, 2018

GMS1 - Version 1.0.0. Published January 16, 2016

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top