SimpleLevelLoader class not found in AndEngine GLES2
Asked Answered
C

2

6

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.

Classes are :

SimpleLevelLoader
EntityLoader
SimpleLevelEntityLoaderData

Please help me how to fix this.

Curdle answered 23/7, 2013 at 6:44 Comment(0)
C
7

After spending few hours finally I got the issue.

Actually I was using GLES2 which has no such classes .

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.

In AndEnginePhysicsBox2DExtension I replaced class named AreaShape with IShapein few classes.

Curdle answered 23/7, 2013 at 11:44 Comment(1)
Thats why you should read all articles carefully next time, in first article I highlighted what andengine branch you need, unfortunately a lot of viewers just ignore it.Reneareneau
S
2

Everybody is getting confused because the GITHUB download page for AndEngine has "GLES2" and not the "GLES2-AnchorCenter" as the default + at the AndEngine tutorial page the videos have embededed links that point to the default download page and don't highlight the fact that you have to choose the right branch from the branches dropdown menu. Most developers not familiarized with GITHUB (yes, there are a lot) won't even notice that.

It would be less error prone if we just point the user to the right branches e.g. https://github.com/nicolasgramlich/AndEngine/tree/GLES2-AnchorCenter instead of the base one.

Spavined answered 23/4, 2014 at 21:32 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.