在AndEngine GLES2中找不到SimpleLevelLoader类 [英] SimpleLevelLoader class not found in AndEngine GLES2
问题描述
是AndEngine中的新功能.在 a AndEngine教程中工作时,请遵循以下课程找不到.我尝试从AndEngine导入所有库,但仍然找不到类.
Am new in AndEngine. While working from a AndEngine Tutorial , following classes are not found. I tried with importing all libraries from AndEngine but class are still not found.
课程是:
SimpleLevelLoader
EntityLoader
SimpleLevelEntityLoaderData
请帮助我解决此问题.
Please help me how to fix this.
推荐答案
花了几个小时终于找到了问题.
After spending few hours finally I got the issue.
实际上我正在使用GLES2
,它没有这样的类.
Actually I was using GLES2
which has no such classes .
对于这些类,我们需要GLES2-AnchorCenter
,这是AndEngine的最新更新.我只替换了GLES2 AndEngine with GLES2-AnchorCenter AndEngine
,现在它可以正常工作了.
For those classes we need GLES2-AnchorCenter
, which is latest update from AndEngine. I only replaced GLES2 AndEngine with GLES2-AnchorCenter AndEngine
and now Its working fine.
在AndEnginePhysicsBox2DExtension
中,在少数几个类中,我用IShape
替换了名为AreaShape
的类.
In AndEnginePhysicsBox2DExtension
I replaced class named AreaShape
with IShape
in few classes.
这篇关于在AndEngine GLES2中找不到SimpleLevelLoader类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!