Not quite finished, but I already have a bunch of functionality in this thing.
Eventually I'm looking to include an object type made from arbitrarily-shaped polygons that will break dynamically based on collision forces and locations.
======== Controls (also refer to the readme): ========

-- I drew out all of these shapes myself with the polygon editor.
Don't worry -- It comes with a pre-made stack of more than enough squares and circles. And if that's not enough, press E a couple times.
Download!
Note: polygon decomposition code is NOT bug-free, and you will encounter weird, filled-in polygons if you try to make certain types of shapes. I am currently working on this and should have it fixed soon.
Will also add joints shortly after. They'll be very quick to implement.
Eventually I'm looking to include an object type made from arbitrarily-shaped polygons that will break dynamically based on collision forces and locations.
======== Controls (also refer to the readme): ========
- Left click: mouse joint (move)
- Right click - drag: move camera
- Mouse scroll: zoom camera (i'm very proud of this effect- so simple and so nice looking)
- Middle click: delete object
- 1 (one): Toggle polygon editor:
- Left click to define polygon
- Right click to finish and create it
- Middle click to cancel/clear
- Z to undo the last vertex
- F1 thru F8: Debug functions (play around with them, you'll see what they do)
- E: Spawn a big pile of boxes (slows down when framerate slows down)
- C: Break apart all multi-shape bodies.
- R: Reload Simulation
- Esc: Quit

-- I drew out all of these shapes myself with the polygon editor.
Don't worry -- It comes with a pre-made stack of more than enough squares and circles. And if that's not enough, press E a couple times.
Download!
Note: polygon decomposition code is NOT bug-free, and you will encounter weird, filled-in polygons if you try to make certain types of shapes. I am currently working on this and should have it fixed soon.
Will also add joints shortly after. They'll be very quick to implement.


