A simple 2D sandbox with simple physics and a GitHub generated name
This is a sandbox with a physics engine all in one html file.
Go to the GitHub Pages site to use
11 shapes,
- Circle
- Square
- Rectangle
- Triangle
- Star
- Pentagon
- Hexagon
- Heptagon
- Octagon
- Nonagon
- Decagon
properties for the objects,
- Mass
- Size
- Bounciness
- Friction
4 different tools,
- Weld Toggle
- Unweld Toggle
- Delete Toggle
- Clear all
and a gravity slider in the options tab (more to come maybe).
To see how to code in something other than Lua and Flixel for once.
Controls are as simple as can be.
F - Freezes/unfreezes objects while being held/selected Left MB - Drags objects, selects them
Some bugs that I'm too lazy to figure out (for now maybe)
Sometimes, when deselecting an object (mainly when clicking in whitespace, haven't had it happen when clicking a different object), the object previously selected will stay highlighted, but not actually selected.
To remove the highlight, click the object again.
Sometimes, when freezing an object, then selecting a different object, the frozen object will stay highlighted green even though it is not selected.
To fix this, click the object again, then it will return to blue.
Programmer - fianalins (me)
I am the only one.