Why Use Cocos?

Why should you use Cocos2d-x C++?

  • Uses the modern C++ API
  • Loads of C++ resources freely available, you can learn C++ here
  • Cross-platform, supports Desktop and Mobile devices including iOS, Mac, Windows and Android
  • Can be used to develop on Mac, Windows or Linux
  • Contains API's for all common game mechanics such as:
    1. Sprites
    2. Actions
    3. Animation
    4. File IO
    5. Keyboard Events
    6. Mouse Events
    7. Accelerometer Events
    8. Particles
    9. Plus many more

Why should you use Cocos2d-x Lua?

The same reasons above apply, the only difference is that Lua is used instead of C++. Many Lua developers will find this welcoming plus the Cocos Code IDE supports Cocos2d-x Lua but at this moment in time doesn't support C++. Lua is very simple and easy to learn.

Why should you use Cocos2d-JS?

The same reasons above apply, the only difference is that JavaScript is used instead of C++. Many web developers will find this welcoming plus the Cocos Code IDE supports Cocos2d-JS but at this moment in time doesn't support Cocos2d-x C++.

The other biggest advantage to using Cocos2d-JS over Cocos2d-x C++ or Lua is the ability to not only developer for Desktop and Mobile but for the Web as well using a single code base.

To learn more about JavaScript click here.