Cocos2d-x open-source project is a C++ version of cocos2d-iphone. Our focus for Cocos2d-x development is around making cocos2d cross-platform. On top of the framework provided by cocos2d-x, mobile games can be written in C++ or Lua, using API that is COMPLETELY COMPATIBLE with that of cocos2d-iphone. Cocos2d-x projects can easily be built and run on iOS, Android, Samsung Bada and BlackBerry Tablet OS. Cocos2d-x also supports Windows and Linux, therefore we can debug source code easily and write editors on desktop operating systems.
Here’s our website: http://www.cocos2d-x.org
1. Native Gap for cpp
Though not as elegant as ObjectiveC, C++ is supported widely by most mobile/desktop platforms. Even though platforms offer higher level programming language, such as WebOS, which has the closest resemblance to html5, they still opens a gap of C++ & OpenGL ES for those computation-hungry games. Therefore C++ & OpenGL ES is still the most common gaming layer on most platforms.
Cocos2d-x caught this gap to makes games cross-platform. Besides libGLES, developers also benefit from direct access to various C/C++ resources such as pthread, libxml2, libCurl, poco, etc. This dramatically improves our productivity.
2. Supported Platforms
(Ordered by stability & reliability)
Platform | Status | Remarks | |
1 | iOS 4.0~5.0 | Stable | 63 registered games with about 3.5 million downloads |
2 | Android 2.0~2.3, 3.0~3.1 | Stable | 62 registered games with about 16.6 million downloads |
3 | Windows | Stable | Please don’t release games base on win32 port before we replace PowerVR GLES library with OpenGL |
4 | Bada | Stable | Finished in v0.10.0. Some alpha users have released games onto samsung store, and have totally 90,000+ downloads |
5 | BlackBerry Tablet OS | Coming Soon | Finished & merging. RIM guys joined in us recently |
6 | Ubuntu | Usable | Linux port uses OpenGL directly. |
7 | WoPhone | Almost deprecated | Without maintenance for several months |
8 | Marmalade | Almost deprecated | Only one game released is base on this port. We’re looking for a maintainer of this port |
9 | MeeGo | Deprecated | Finished but unmerged. MeeGo is deprecated by Nokia & Intel after our contributors finished this port, oops |
3. Some Top Games using Cocos2d-x
- Fishing Joy HD Android port, which as 12,000,000 downloads & 2,000,000 active users. It's maintaining by cocos2d-x core team :)
- Link Link 2 HD, 1,500,000 downloads on iOS, and 400,000 on Android
- Castle Empire, social game, New & Noteworthy in AppStore US & China region. (I'm having lots of fun in this game currently ^_^ )
- 91 Tribe, a social game, ios version, other versions
- Fishing Master, 100,000 downloads of ios version, 250,000 downloads of android version
- Crowd Subway, 270,000 downloads of ios version, 50,000 downloads of android version
- Ah Up Planet, ios version, android version (Warning: Don't play this game in office, haha)
- Cow vs Alien, Android port
- Super Stickman Golf, Android port
- Bird Hunting Mania, 1,000,000+ downloads on iOS, top10 in China
- Fighting of Sango: Legend of Heroes,
- Cut Cut Boom
- Ninja Chicken 2
You can find more awesome games & showcases from http://www.cocos2d-x.org/projects/cocos2d-x/apps
One year ago, the first stable version of cocos2d-x was released on Nov 30, 2010. During last year, more than 125 mobile games based on cocos2d-x were released. In other words, two new games were shipped every week. Many developers, contributors and bloggers joined cocos2d-x community, sharing their new platform ports, bug fixes, cool features and tutorials to the community. Thanks to all of you, Cocos2d-x has grown out of its infancy.
We plan to make more cool stuffs in the coming year. Stay tuned.
(原文首发于http://www.cocos2d-iphone.org/archives/1674,但有翻译专家帮我修改了行文,使之更地道些,我就在cnblogs贴一份好了)