Relatively new here, but I've developed a few games in my time. My most recent effort was an Android turn based civilizations building game https://play.google.com/store/apps/details?id=com.napoleonicmonkey.island
Now I was happy with the development process overall - enjoyed coding in Java and Eclipse once I got used to it. However I would love to be able to sell it to iPhone too. Heard plenty of people say that Apple users are more willing to download, and even pay. I'm not counting on it, but it would be nice if people actually played my games
My question is: has anyone used any multi-platform engines? What would be the easiest way to code my game once and port it for a few engines?
My first thought was to build an interface class for screen refreshes, input, sound, file management etc. From this I could connect a system-dependent class, that does all the work communicating between my core game and the underlying OS. However, once I thought about it I'm not convinced it would work - I'd still need to translate my code into the OS preferred language (eg translate from Java for Android to C for iOS). And I'm not very familiar with iOS, but imagine the general program architecture could be different to Android.
This left me looking for alternative libraries. I've had a quick look at Marmalade, which sounds very expensive to get into. Also looked at PhoneGap. But it's hard to get a feel for them until you've tried them.
So has anyone used one of the multi platform libraries? It sounds like they are mostly based in Javascript - which I also don't have much experience with :S I'm not sure they're designed for games either - look like they're mostly targetted at web developers looking to launch website tie-in apps.






