HTML and CSS Reference
In-Depth Information
b2DebugDraw outputfromBox2D.WehavenowsuccessfullyappliedaBox2Dphysicsmodel
to the HTML5 Canvas.
Again, notice that, besides getting familiar with the object model of Box2D, this example
is very simple. We did not have to build any movement or collisions detection routines
ourselves.Box2Dtakescareofallthatstuffonitsown.WejustneedtodefineaBox2Dworld
and then put objects inside of it.
Search WWH ::




Custom Search