引用 如何在 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

更多相关文章

  1. Android系列之Android开发教程代码实例
  2. Android API教程:人脸检测(上)
  3. android中使用sqlite的简明教程
  4. 安卓模拟器Android SDK安装完整图文教程
  5. android用户界面之AlarmManager教程实例汇
  6. Android Gallery3D效果 教程 案例 代码

随机推荐

  1. Android(安卓)电子罗盘开发
  2. Android中BuildConfig类的那些事
  3. Android开发 常用控件罕见特殊属性集锦
  4. Activity与Service是否处于同一进程
  5. android照相功能介绍
  6. Android activity的DecorView的层次结构
  7. 读取local.properties文件
  8. Android(安卓)中使用Protocol Buffer
  9. Android中应用程序如何获得系统签名权限
  10. Android OS的扩展库支持