androidbox2d


android port of box2d

Introduction

Box2D is a feature rich 2d rigid body physics engine, written in C++ by Erin Catto. It has been used in many games, including Crayon Physics Deluxe, winner of the 2008 Independent Game Festival Grand Prize. Many ports are available for Flash, Java, C#, Python, JavaScript, D, and fixed point embedded devices.

This project port Box2D to android based on JBox2D.

The source code is an Android Eclipse project.

Dev Environment

  • eclipse-java-ganymede-SR1-linux-gtk
  • android-sdk-linux_x86-1.0_r2
  • android_eclipse_plugin_adt.0.3.1
  • ADT-0.8.0

Screenshot

Varying Restitution

http://www.linuxgraphics.cn/images/physics/androidbox2d_testbed_varying_restitution.png

Varying Friction

http://www.linuxgraphics.cn/images/physics/androidbox2d_testbed_varying_friction.png

Pyramid

http://www.linuxgraphics.cn/images/physics/androidbox2d_testbed_pyramid.png

Project Information

  • License: GNU GPL v2
  • 75 stars
  • svn-based source control

Labels:
physicsengine box2d android java moblie game