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:
- Sprites
- Actions
- Animation
- File IO
- Keyboard Events
- Mouse Events
- Accelerometer Events
- Particles
- 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.
Updated about 2 months ago