Game Development Reference
In-Depth Information
Simulating physics with Box2D
Box2D was created by Erin Catto and is an open source physics engine to simulate
rigid bodies in 2D space. It is written in a platform-independent C++ code that
has encouraged ports to several frameworks, game engines, and programming
languages in general.
You should check out at least one of these popular games if you have never seen
Box2D in action before: Angry Birds , Limbo , Tiny Wings , and Crayon Physics Deluxe .
LibGDX integrates Box2D, which is similar to other frameworks, through a thin
wrapper API that is congruent with Box2D's original API. This approach makes
it pleasantly easy to transfer existing knowledge about Box2D by following
tutorials and examples that are not based on LibGDX, and of course, using the
official Box2D manual.
For more information, you can check out the official website of Box2D at http://
www.box2d.org/ .
Also check out the LibGDX's Box2D wiki at https://github.com/libgdx/libgdx/
wiki/Box2d/ .
For Box2D tutorials, you can check out the following websites:
• C++ ( http://www.iforce2d.net/b2dtut/ )
• Objective-C ( http://www.raywenderlich.com/28602/intro-to-box2d-
with-cocos2d-2-x-tutorial-bouncing-balls )
• Flash ( http://www.emanueleferonato.com/category/box2d/ )
• JavaScript ( http://blog.sethladd.com/2011/09/box2d-collision-
damage-for-javascript.html )
 
Search WWH ::




Custom Search