Chapter    13

Porting to Android

How cool would it be if you could build and run your SpriteBuilder app on Android devices?

You can!

There’s no Java or C++ programming needed to do so. SpriteBuilder provides the necessary plugins for Xcode to cross-compile your Objective-C code to Android. In fact, all the libraries used by SpriteBuilder apps—most notably Cocos2D-Swift, Chipmunk2D and ObjectAL—are fully compatible.

How Does Android Support Work?

The development of SpriteBuilder and Cocos2D since version 3 (Cocos2D-Swift to be precise) is done by Apportable developers. Apportable is a company that specializes in cross-compiling Objective-C code for the Android platform.

Originally, Apportable was a command-line tool for expert programmers and ...

Get Learn SpriteBuilder for iOS Game Development 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.