【发布时间】:2012-11-04 20:03:26
【问题描述】:
我对 andengine 很陌生,尝试从 git url 使用这个 andengine 示例:https://github.com/nicolasgramlich/AndEngineExamples
但它总是向我显示错误两个类
BoundCameraExample 和 HullAlgorithmExample
绑定相机示例错误在第 220 行中说:
类型不匹配:无法从 void 转换为 AnimatedSprite
final AnimatedSprite face = new AnimatedSprite(pX, pY, this.mBoxFaceTextureRegion, this.getVertexBufferObjectManager()).animate(100);
并且在 HullAlgorithmExample 错误出现在 DrawMode 的导入语句中
第 11 行显示错误:import org.andengine.entity.primitive.vbo.DrawMode;
在第 168、175 行中说 DrawMode 无法解析为变量
我对所有扩展都使用 java 编译器 1.6 我从同一个 git repo 下载了 andengine 和扩展。 这是怎么回事 请帮帮我
感谢大家
【问题讨论】:
标签: andengine