Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I made my game using libgdx which is a cross-platform framework which supports desktop, Android and html5 (using Google Web Toolkit). What could be a possible route to port my game to iOS?

share|improve this question
add comment

6 Answers

Now you can port your game to iOS. The steps to do this (as described here) are:

  1. Make sure you have all prerequisits for libgdx development for iOS, except Xamarin.iOS/Monotouch!
  2. Open Eclipse, and install the RoboVM plugin from here. This will install everything you need.
  3. Get the libgdx source and import all projects into Eclipse.
  4. Right click any of the xxx-robovm projects in Eclipse, select Run As, then iOS Device App, or iOS Simulator App.
  5. See things running on your iOS simulator or device! (Note that you need to provision your device to be able to run anything on it, which costs you 90$/year. Thanks Apple!)

But there are some issues. Read all the information here.

share|improve this answer
add comment

There's been some "offical" discussion about this on the Libgdx page. In short, it's not possible yet to do a direct conversion using Libgdx.

So basically, I believe your options at this point are to do a re-write in Objective C or (perhaps more simply) use Avian with your existing code. Either way you're likely to have a good deal of work ahead of you.

share|improve this answer
add comment

Perhaps you could port to GWT and then use something like GWT on PhoneGap to get the app into iOS. (Hmm... I'm not sure if the GWT on PhoneGap link above is for running GWT on PhoneGap, or for porting PhoneGap apps to GWT?)

I have no experience with either of these steps, so I can't say what wouldn't work. But like a game of "telephone" I suspect each step will degrade the experience slightly, so the result may not be worthwhile.

share|improve this answer
add comment

I think there is an iOS backend for libgdx now but it requires Mono Touch...

share|improve this answer
add comment

If your game is in HTML5, you can port it with PhoneGap.

share|improve this answer
add comment

The creator of libGDX, Mario Zechner, himself says in the following blog post that libGDX games require a MonoTouch license for running games written in libGDX to run on iOS! See First libGDX game on iOS and here are some, Screenshots of libGDX iOS Demos. Hope this helps :)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.