文件名称:OphoneBox2d
介绍说明--下载内容均来自于网络,请自行研究使用
jbox2dBox2D是一个用于游戏的2D刚体仿真库,它可以使物体的运动更加真实,让游戏场景看起来更具交互性。2D物理引擎能增强游戏世界中物体如多边形(砖块,三角形,多边形)的动作的真实感从而提高游戏质量。该引擎通过用户设定的参数如重力,密度,摩擦,弹性等参数计算碰撞,角度,力和动力等。这些计算需要大量的数学,物理等知识,如果有兴趣也可以下载其源码来研究。
Box2d同时也提供了各种语言环境的实现,由于Ophone平台使用java作为变成语言,所以我们将选择使用Box2d的java版JBox2d,这也将产生一个问题,JBox2D是用processing库来处理图像显示,所以Ophone平台上则不适用,在Ophone平台上的图像渲染主要包括两种:Canvas和Opengl ES,因此我们可以任选其中一种,这里为了配合我们的引擎实现,选择通过Opengl ES来作为渲染部分,这部分就需要我们自己来实现,其实我们也可以不使用其图像渲染部分,因为我们主要是使用Box2d来做物理检测,稍后我们会通过一个实例游戏来介绍。
-jbox2d rigid body
Box2d同时也提供了各种语言环境的实现,由于Ophone平台使用java作为变成语言,所以我们将选择使用Box2d的java版JBox2d,这也将产生一个问题,JBox2D是用processing库来处理图像显示,所以Ophone平台上则不适用,在Ophone平台上的图像渲染主要包括两种:Canvas和Opengl ES,因此我们可以任选其中一种,这里为了配合我们的引擎实现,选择通过Opengl ES来作为渲染部分,这部分就需要我们自己来实现,其实我们也可以不使用其图像渲染部分,因为我们主要是使用Box2d来做物理检测,稍后我们会通过一个实例游戏来介绍。
-jbox2d rigid body
(系统自动生成,下载前可以参看下载内容)
下载文件列表
OphoneBox2d\.classpath
...........\.project
...........\.settings\org.eclipse.core.resources.prefs
...........\AndroidManifest.xml
...........\bin\classes.dex
...........\...\.om\yarin\ophone\OponeBox2d\Box2dTest.class
...........\...\...\.....\......\..........\Coordinate.class
...........\...\...\.....\......\..........\DrawObject.class
...........\...\...\.....\......\..........\GameGLSurfaceView$1.class
...........\...\...\.....\......\..........\GameGLSurfaceView.class
...........\...\...\.....\......\..........\GLRenderer.class
...........\...\...\.....\......\..........\PhysicsWorld.class
...........\...\...\.....\......\..........\Polygon.class
...........\...\...\.....\......\..........\R$attr.class
...........\...\...\.....\......\..........\R$drawable.class
...........\...\...\.....\......\..........\R$layout.class
...........\...\...\.....\......\..........\R$string.class
...........\...\...\.....\......\..........\R.class
...........\...\OphoneBox2d.apk
...........\...\resources.ap_
...........\default.properties
...........\gen\com\yarin\ophone\OponeBox2d\R.java
...........\lib\jbox2d-2.0.1-full.jar
...........\proguard.cfg
...........\res\drawable-hdpi\icon.png
...........\...\.........ldpi\icon.png
...........\...\.........mdpi\apple.png
...........\...\.............\icon.png
...........\...\layout\main.xml
...........\...\values\strings.xml
...........\src\com\yarin\ophone\OponeBox2d\Box2dTest.java
...........\...\...\.....\......\..........\Coordinate.java
...........\...\...\.....\......\..........\DrawObject.java
...........\...\...\.....\......\..........\GameGLSurfaceView.java
...........\...\...\.....\......\..........\GLRenderer.java
...........\...\...\.....\......\..........\PhysicsWorld.java
...........\...\...\.....\......\..........\Polygon.java
...........\bin\com\yarin\ophone\OponeBox2d
...........\gen\com\yarin\ophone\OponeBox2d
...........\src\com\yarin\ophone\OponeBox2d
...........\bin\com\yarin\ophone
...........\gen\com\yarin\ophone
...........\src\com\yarin\ophone
...........\bin\com\yarin
...........\gen\com\yarin
...........\src\com\yarin
...........\bin\com
...........\gen\com
...........\res\drawable-hdpi
...........\...\drawable-ldpi
...........\...\drawable-mdpi
...........\...\layout
...........\...\values
...........\src\com
...........\.settings
...........\assets
...........\bin
...........\gen
...........\lib
...........\res
...........\src
OphoneBox2d
...........\.project
...........\.settings\org.eclipse.core.resources.prefs
...........\AndroidManifest.xml
...........\bin\classes.dex
...........\...\.om\yarin\ophone\OponeBox2d\Box2dTest.class
...........\...\...\.....\......\..........\Coordinate.class
...........\...\...\.....\......\..........\DrawObject.class
...........\...\...\.....\......\..........\GameGLSurfaceView$1.class
...........\...\...\.....\......\..........\GameGLSurfaceView.class
...........\...\...\.....\......\..........\GLRenderer.class
...........\...\...\.....\......\..........\PhysicsWorld.class
...........\...\...\.....\......\..........\Polygon.class
...........\...\...\.....\......\..........\R$attr.class
...........\...\...\.....\......\..........\R$drawable.class
...........\...\...\.....\......\..........\R$layout.class
...........\...\...\.....\......\..........\R$string.class
...........\...\...\.....\......\..........\R.class
...........\...\OphoneBox2d.apk
...........\...\resources.ap_
...........\default.properties
...........\gen\com\yarin\ophone\OponeBox2d\R.java
...........\lib\jbox2d-2.0.1-full.jar
...........\proguard.cfg
...........\res\drawable-hdpi\icon.png
...........\...\.........ldpi\icon.png
...........\...\.........mdpi\apple.png
...........\...\.............\icon.png
...........\...\layout\main.xml
...........\...\values\strings.xml
...........\src\com\yarin\ophone\OponeBox2d\Box2dTest.java
...........\...\...\.....\......\..........\Coordinate.java
...........\...\...\.....\......\..........\DrawObject.java
...........\...\...\.....\......\..........\GameGLSurfaceView.java
...........\...\...\.....\......\..........\GLRenderer.java
...........\...\...\.....\......\..........\PhysicsWorld.java
...........\...\...\.....\......\..........\Polygon.java
...........\bin\com\yarin\ophone\OponeBox2d
...........\gen\com\yarin\ophone\OponeBox2d
...........\src\com\yarin\ophone\OponeBox2d
...........\bin\com\yarin\ophone
...........\gen\com\yarin\ophone
...........\src\com\yarin\ophone
...........\bin\com\yarin
...........\gen\com\yarin
...........\src\com\yarin
...........\bin\com
...........\gen\com
...........\res\drawable-hdpi
...........\...\drawable-ldpi
...........\...\drawable-mdpi
...........\...\layout
...........\...\values
...........\src\com
...........\.settings
...........\assets
...........\bin
...........\gen
...........\lib
...........\res
...........\src
OphoneBox2d