« Previous -
Version 195/233
(diff) -
Next » -
Current version
Zhe Wang, 2012-05-30 06:53
About¶
Cocos2d-x community focus on expending the platform adaptor of cocos2d gaming framework. Developers can choose different programming language to run games on different platforms. Each language is available on several platforms which shows below- Native port, it's mainly written in C++, mixed with a little Java and Objective-C. Lua binding and javascript are binded as scripting language. With cocos2d-x, developers can easily port their cocos2d games onto iOS, Android, Bada, BlackBerry Qnx, Marmalade, WindowsXP/Windows7, Linux and Windows8 Metro.
- HTML5 port, named as cocos2d-html5, it's written in pure javascript and html5, focus on desktop browsers
- XNA port, in pure C#, focus on Windows Phone 7 and XNA rendering.
All branches above are released under MIT License.
We aspire to create a world-class open source project.
Programming languages vs. Platform Supported¶
"o" stands for: OK
"i" stands for: supported but inactive/un-merged/deprecated
| Platforms | C++ | Lua | Javascript | C# | |
|---|---|---|---|---|---|
| Mobile Platforms | iOS | o | o | o | |
| Android | o | o | o | ||
| WindowsPhone7 | o | ||||
| Bada | o | ||||
| BlackBerry QNX | o | ||||
| MeeGo | i | ||||
| Marmalade | o | ||||
| Desktop Platforms | WinXP/Win7 | o | o | o | |
| Linux | o | ||||
| Win8 Metro | o | ||||
| Mac OS X | i | ||||
| Web Browsers | HTML5 ready browsers | o |
Documentation¶
- C++ Programmers' Documentation Portal
- Javascript Programmers' Documentation Portal
- Lua Programmers' Documentation Portal
Download¶
- Stable Version (Recommend)
- Cocos2d-x github repo:
- Cocos2d-html5 github repo:
Contribution¶
Cocos2d-x, Cocos2d-html5 and Cocos2d-xna are provided to you free of charge. However, if you want to contribute to the project, here's a list of things you could do to help with the development
- If you find a bug!
- please kindly report the bug on our forum , post it on the correct subforum for your platform. Details on how to make the bug appear would be very helpful.
- If you fix a bug!
- please fork our repository on http://github.com/cocos2d/cocos2d-x/, and commit your fixed code
- or you can post your fix code on the forum, we will commit it to github
- I would like to add a port to another platform!
- please contact us via email/twitter/forum, etc. It would be our pleasure to add a subproject on this website for you!
- coding style: please reference the Google CPP StyleGuide Here's a zhCN version: Google CPP StyleGuide in zhCN
- Show cocos2d-x logo in your game
- We highly appreciated if you can show cocos2d-x logo in your splash screen or credit, get the logo image from Logo Resources of Cocos2d-x
Support & Help¶
- Forum: http://forum.cocos2d-x.org/
- Twitter: http://www.twitter.com/cocos2dx/
- Weibo: http://weibo.com/cocos2dx/
- mail: walzer (at) cocos2d-x.org