GameMaker Studio 2

N-Body Sim. Verlet Integration


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).

Version 1.0.0. Published January 16, 2016

Created with GameMaker: Studio v1.4.1657

Age Rating: 4+

Average Rating

This asset hasn't received enough reviews yet.

Your review

You can only review assets you've bought.


davide m 20 January 2016

Very interesting

I'm fascinated by this asset cause it creates such an interesting behaviour with few lines of code. Hope to see more assets like this on the MP.


SmallBigSquare (Publisher) 21 January 2016

Thanks for the review. I'll do my best :)

Package contents

Loading, please wait

What is the issue?

Back to Top