A downloadable asset pack

Download NowName your own price


This engine must be used with GameMaker: Studio  1.4, 2 or 2.3. If you don't have GameMaker: Studio you can download it from www.yoyogames.com


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.

Features:

  • 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(n^2) 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

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

@smallbigsquare


This asset is also on YoYoGames Marketplace

Download

Download NowName your own price

Click download now to get access to the following files:

N-Body Sim. Verlet Integration G23.yyz 66 kB
n_body_simulation_100.gmz 33 kB
n_body_simulation_G2.yyz 790 kB

Leave a comment

Log in with itch.io to leave a comment.