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