2D Physics on Android Using Box2D
16lz
2021-01-23
引用 如何在 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
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
更多相关文章
- Android系列之Android开发教程代码实例
- Android API教程:人脸检测(上)
- android中使用sqlite的简明教程
- 安卓模拟器Android SDK安装完整图文教程
- android用户界面之AlarmManager教程实例汇
- Android Gallery3D效果 教程 案例 代码