I'm wanting to install AndEngine... I've came across Some videos that show you how to install it. But these videos were done last year, and since then, the method of installing it has changed. At lest the way they were doing it in these videos... Dose any one know the new extensions or some new tutorials I can follow...
Keep in mind that currently there are 2 versions of AndEngine GLES1 and GLES2, most videos and tutorials are for GLES1 as that GLES2 was recently released also AndEngine was on google Code and now moved to github , so an old tutorial would not work I wrote a tutorial about setting up GLES2 and getting it to work , check it out
https://jimmaru.wordpress.com/2012/04/23/setting-up-andengine-gles2-0/
The current best practice is to set up andengine as a library project. Nicholas Gramlich, the authro of andengine, posts instructions on how to download the latest build of andengine and add it to eclipse a s a library project here:
You do not want to get a jar file and use that. Because there is no .jar for andengine anymore. If you are using a jar file, you are using an old version. Even if you are using GLES1, you should update to the latest code via a library project, and NOT a jar file.
I see this is still not well explained. So i did it myself. This is my way:
- Create your game project in Eclipse (do it as usual)
- Download and unpack andengine from github to and_location (not a jar file)
- In eclipse import whole and_location folder as an "Existing Android Code.." to do so right click on white space in project view and choose "Import" from context menu. As a root directory choose and_location when u do this it should (by default) mark checkbox next to "AndEngine" project. Click Finish.
- Now you will see two projects in your workspace:
- YourGame
- AndEngine
- Right click on YourGame project and choose "Build path -> Configure build path.."
- Choose "Projects" tab
- Click "Add" button on the right. Choose AndEngine, Click OK -> OK and Voila, you are done and you can use AndEngine classes in your project
basically you just want to add jar file in ur project .so first download jar file from http://www.2shared.com/file/9K77Yazm/andengine.html and now you can include this jar file in your project like this rightclick on ur project->properties->javabuildpath->add external jar->give the location of download and jar and add it.
© 2022 - 2024 — McMap. All rights reserved.