My favorite programming language is C++. My favorite game library is Cocos2d. It’s too bad that Cocos2d is written in Objective-C and only supports iOS and Mac. And by that I mean it’s too bad I didn’t discover the C++ port of Cocos2d called Cocos2d-X earlier. It’s absolutely amazing. Why?
- First, it’s C++. My favorite. The standard template library with it’s generic containers such as std::map is the best.
- Second, it uses all the same class names and constructs as my favorite Cocos2d gaming library. This made it extremely easy to switch over to.
- Third, it’s cross-platform and runs almost everywhere–iOS, Android, Mac, and Windows. It even has a HTML5 port and the Windows port uses DirectX instead of OpenGL.
With this kind of distribution and support why would you code up your own solution or limit yourself to a single platform? I’m all in and you should be too. That is of course if you write games. Check out my first Cocos2d-x game called Tic Tac Toe Glow which I’m releasing to iOS and Android at the same time. Windows 8 and Mac will be coming too and why not? This library makes it easy to do.