These days I came across a project named cocos2d-x. It’s a port of cocos2d game engine to C++ that allow us to use the same source code to generate versions for iPhone, Android, MS Window (32 bits) and WoPhones.
In the wiki they explain how to develop for Android on both environments: MS Windows and MacOS.
On Windows you will need to install Cygwin. In my opinion, it’s not a good solution.
Cygwin will occupy a lot of space (around 2.6GB), it’s to slow to compile and it’s hard to debug android’s native code. It’s so hard that folks on cocos2d-x recommends you to develop you game for Windows and after that it gets up and running you compile it for android.
I love to develop on Linux, so when I decided to give a try on cocos2d-x I set up a Linux environment.
It’s what this post is about: how to compile cocos2d-x for android using a Linux distribution (as you may already guessed by the title of this post).
Continue reading “Developing with cocos2d-x for android on Linux”