Setting up MarteEngine to run on Android - Gornova/MarteEngine GitHub Wiki
This tutorial assumes a basic understanding of how to setup MarteEngine for Windows, along with how to work with your preferred IDE.
This guide will use the term MarteEngine AE in replace of "Android Edition"
Java
MarteEngine requires Java version 6 (Java Developer Kit when you develop, Java Runtime when you run the games), you can download the latest version from the Java web page
If you have already installed Java, check your installed version by typing java -version at your command line.
2. IDE
MarteEngine is developed with Eclipse (Helios version) but you can use it with your favourite Integrated Developement Enviroment. This tutorial is based on the perspective of Eclipse, although the same concepts can simply be used with your preferred IDE.
3. Setting up MarteEngine AE
The Fast way
- download Marte Engine AE Template Project
- unzip it
- import/copy into your IDE workspace.
- Run Desktop Launcher and Android Launcher to test!
The "Indepth" Way
I Do Not Have Time to Write How to "Step-by-Step" Set This Up, Sorry! :(
The Difference
What you should know is, normal MarteEngine "Check(input)" methods will no longer work! Instead you must use GDX's input processor. if (Gdx.input.isKeyPressed(Keys.A) { ... }
MarteEngine AE