kripken/box2d.js — pull request #4 by nuisanceofcats (2012-10-01 18:00:39+00:00)
Title: Important additions to allow access to more objects and improve build system

Hi,

I've been using your box2d port quite extensively and uncovered a number of drawbacks, one of the most major ones being an inability to access contact events.

By adding more object constructors I was able to open up more source code. I added some documentation to the README to show how to use collisions under box2d.js as it was quite tricky to work out.

Using the new environment variable setting support in emscripten I was also able to clean up the build system so it will work "out of the box" on more users machines.

I also include emscripten as a git submodule, this seems important so that the version of emscripten that was used to build the internal "box2d.js" is tagged and known for every release.

Cheers, James