|yes, Android want you!|
This is a code story, so be ready :D
The story so far
On slick forum user ask me for an example project for MarteEngine (adding version 0.3 in development on Github, see dev branch) n Android and thanks of his efforts I was able to build and example project. To do this I've started from Slick-AE Template project (you can download it here).
You can download from here and import into your Eclipse workspace (tested with Eclipse Indigo and Helios, works fine )
Into zip file you can find two projects:
- MarteEngineDemo-Desktop: base project with desktop launcher and all your game files,
|yes, Hello World on Android with MarteEngine, great programs start from here (Desktop screenshot)|
- MarteEngineDemo-Android: just a wrapper project to launch your game on android phone ,
|and the demo working on my phone|
I want it too!
For make it work you need to setup your enviroment like every Android application and then download this example.
Be sure to change target android sdk for both projects, so it will compile on your enviroment too ( for me is api sdk 8, for android 2.2).
You can play a bit launching Desktop launcher, maybe following MarteEngine tutorials, but what you want is see action, so just launch Android project as Android application (don't try to use virtual device, try on a real Android phone, works better).
I've not tested everything, but integration is good and works fine on my Android 2.2 phone
Get working MarteEngine games on Android is possible and easy, if you start from a template project.
There are some flaws, like understanding how to use new input capabilities, but you can start from that.