Looking closer – iOS

Ah iOS! The platform that transformed mobile app development and brought it to the mainstream. Hey! You are probably wondering that LibGDX is a Java-based framework, so how on earth does it run on iOS? Apple banned Java Runtimes long ago. Well you are correct, the game isn't exported as you might think it is. In fact, an additional tool called RoboVM is used. RoboVM's project aim was to allow Java developers to develop the game on the iOS platform, and the best bit is that the game will have a native-style performance. It doesn't need a runtime to launch. How is this possible? Well, RoboVM compiles the bytecode, generated by the Java compiler, with machine code.

To check out RoboVM, visit its website, http://robovm.com/.

LibGDX ...

Get LibGDX Game Development By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.