Cocos2d-x is a C++ port of the Cocos2d library and it allows you to write cross-platform games that work on both iOS and Android (and a couple of other platforms as well). Setting up a cross-platform project is a bit of work though. The C++ code you use for writing your games is the same for all platforms but you will need some platform-specific wrapper code and build-configuration to get things g
![Cocos2d-x for iOS and Android with IntelliJ](https://cdn-ak-scissors.b.st-hatena.com/image/square/8341a13ae265db08743767969d399b71ce856ffc/height=288;version=1;width=512/http%3A%2F%2F4.bp.blogspot.com%2F-kHMjJp3789Y%2FUZ0ownYYDYI%2FAAAAAAAAh-c%2FSrmis9X0MG4%2Fw1200-h630-p-k-no-nu%2Fxcode1.png)