在AndEngine GLES2中找不到SimpleLevelLoader类 [英] SimpleLevelLoader class not found in AndEngine GLES2

查看:66
本文介绍了在AndEngine GLES2中找不到SimpleLevelLoader类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是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 IShapein few classes.

这篇关于在AndEngine GLES2中找不到SimpleLevelLoader类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆