Box2d-js Port Fork
I found some features of this port is inconvenient and try to correct it.
List of changes:
- Add builder for concatenate files of lib in one because them total count is 64.
Now you add lib just place script tag with
src/origindir if you want original version or from
src/forkif you want new version.
- Removed prototype lib dependency. No more any dependencies.
DebugDrawmethod of b2World class. This method call every frame for draw shapes and joints on canvas element. For install it set
SetDebugDrawwhere pass 2d-context, width and height of canvas-2d.
QueryPointmethod of b2World class for hit test point over shape. There is no in original port.
- Fix debug draw pulley joint.
- Add documentation.
- Add examples from flash port.