Author Archive for Walzer

Hello Windows Phone 7!

I’m proud to announce that, cocos2d family spreads to the last important platform: Windows Phone 7. This branch is named: Cocos2d-x for XNA.

Beta release download: http://cocos2d-x.googlecode.com/files/cocos2d-x-for-xna-0.1.0.zip
Github repository: http://github.com/cocos2d/cocos2d-x-for-xna/
Inheriting the open source spirit from cocos2d-iphone, this branch is also open & free under MIT License.

Many developers hope that WP7 can support C++ and GCC, but the bitter reality is that Windows Phone 7 has not open native language layer and no OpenGL ES support. We have no choice except porting the whole cocos2d framework into C# language, base on Microsoft’s XNA framework. In this way, we can migrate cocos2d games onto WP7 only by programming languages translation, without any knowledge of the difference between OpenGL ES and XNA required.

Most features of cocos2d have been implemented. As the video shows:

But features below are semi-finished or TBD in the next version:

  • Transition
  • Grid
  • Dispatcher of hardware keys messages
  • Accelerometer

Cocos2d-x core team and OpenXLive.com achieve the alpha release together. Cocos2d-x for XNA branch will keep update and sync the translation with cocos2d-iphone & cocos2d-x monthly. Any feedbacks, suggestions, bug reports would be appreciated, please post them into http://cocos2d-x.org/projects/cocos2d-x/boards/17 We’ll create bug tracking from posts. If you release games based on this branch, please let me know.

Wish everyone here can make a good profit from Windows Phone 7 :)

1st Birthday of Cocos2d-X

Cocos2d-x open source project is C++ version of cocos2d-iphone. We focus on making cocos2d framework cross multiple platforms. Mobile games can be written on the top of cocos2d-x in C++ or Lua language, via the COMPLETELY SAME API as cocos2d-iphone, they can easily be built & run on iOS, Android, Samsung Bada and BlackBerry Tablet OS. Cocos2d-x also supports Windows & 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

NativeGap4cpp

C++ is not as elegant as ObjectiveC, but it is supported widely by most mobile/desktop platforms. Even if some platforms offer high level programming language, for example, WebOS, the closest to html5, they still open a gap of C++ & OpenGL ES for making performance-hungry games. So C++ & OpenGL ES is the most common gaming layer on most platforms.

Cocos2d-x caught is gap to make games cross platforms. Besides libGLES, we can also benefit from various C/C++ resources such as pthread, libxml2, libCurl, poco, etc to reduce our workload.

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

You can find more awesome games & showcases from http://www.cocos2d-x.org/projects/cocos2d-x/apps. So far, cocos2d-x games have more than 20 million downloads on ios / android / bada totally.
1 year ago, cocos2d-x released its first version at Nov.30 2010. During the last year, more than 125 mobile games/apps were released based on cocos2d-x, in other words, 2 new games per week. Many contributors & blog writers joined in us, shared their new platform ports, bug fixes, cool features, and tutorials to community. Thanks to all of you.

We plan to make more cool stuffs in the coming year. You’ll see, aha.




Social Widgets powered by AB-WebLog.com.