2D Physics on Android Using Box2D

引用
如何在 android 应用中使用 JBox2D。

JBox2D 使用 processing 做图形渲染,需要改成基于 android 进行渲染。教程并没有实现渲染部分,只是用 Log 打印 body 的位置信息来查看程序的运行情况。 这里还有对该教程的讨论。


his post is a brief tutorial on getting started with 2D physics on Android.

2D physics can greatly enrich games by realistic behavior of objects such as polygons (boxes, rectangles, polys) and circles in a world setting. The engine calculates collisions, angles, forces and momentums based on user-defined settings such as gravity, density, friction, elasticity, etc.

more information:

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

http://box2d.org/manual.html#d0e118

你可能感兴趣的:(html,android)