Started in 2010, cocos2d-x is an open source, cross-platform game engine. It is loaded with powerful features that allow developers to create spectacular games with ease.
Why would you want to choose Cocos2d-x over other available game engines?
- Modern C++ API (please refer to the modernizing done in version 3.0)
- Cross platform - desktop, mobile and console
- Capability to test and debug your game on the desktop and then push it to a mobile or console target
- A vast API of functionality including sprites, actions, animations, particles, transitions, timers, events (touch, keyboard, accelerometer, mouse), sound, file IO, persistence, skeletal animations, 3D
auto
is used for creating local variables.using namespace cocos2d;
is used to shorten types.- each chapter has a compilable source code sample to demonstrate concepts.
- italics are used to notate concepts and keywords
- 2014-10-22 - initial release