Search code examples
javaandroidcollision-detectiongame-physicsjbox2d

Are there any easy-to-understand and working tutorials for JBox2D?


I am looking for some beginner tutorials for the newest release of JBox2D. The ones I have found are all outdated. If possible a tutorial on how to apply the whole thing on android would also be good. I am simply trying to make some walls that the player cant go through and apply some gravity.

Thanks in advance.


Solution

  • Hмм, the first google result seems useful:

    http://www.4feets.com/2009/03/2d-physics-on-android-using-box2d/

    However, if you know c++ or actionscript a little, you can successfully use tutorials for these languages. Box2d code in c++ and actionscript is quite similar to Java code. So you can try to learn these tutorials written in c++:

    http://www.kerp.net/box2d/