Book Image

LibGDX Game Development By Example

By : James Cook
Book Image

LibGDX Game Development By Example

By: James Cook

Overview of this book

Table of Contents (18 chapters)
LibGDX Game Development By Example
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 and RoboVM have what seems to be a tight partnership and work extremely well together. In fact, out-of-the-box—the project set up tool—you can build applications for iOS with RoboVM.

I would like you to note now that like we did for Android, I am...