« Previous -
Version 188/233
(diff) -
Next » -
Current version
Zhe Wang, 2012-05-30 06:37
About¶
Cocos2d-x community focus on expending the platform adaptor of cocos2d gaming framework. Currently we've ported 3 branches:- native port, it's mainly written in C++, mixed with a little Java and Objective-C. Lua binding and javascript binding are offered on scripting layer. 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, 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 arrived¶
| Platforms | C++ | Lua | Javascript | C# | |
|---|---|---|---|---|---|
| Mobile Platforms | iOS | o | o | o | |
| Android | o | o | o | ||
| WindowsPhone7 | o | ||||
| Bada | o | o | |||
| BlackBerry QNX | o | o | |||
| MeeGo | d | ||||
| Marmalade | o | ||||
| Desktop Platforms | WinXP/Win7 | o | o | o | |
| Linux | o | ||||
| Win8 Metro | o | ||||
| Mac OS X | d | ||||
| Browsers | Chrome | o | |||
| FireFox | o | ||||
| Safari | o | ||||
| IE | o |
|_. Platforms | |\7. Mobile platforms |\4. Desktop platforms |_. Language |_. cocos2d-x version |_. iOS |_. Android |_. WindowsPhone 7 |_. MeeGo |_. Bada |_. BlackBerry QNX |_. Marmalade |_. WinXP/Win7 |_. Win8 Metro |_. Linux |_. Mac OS X | C++ | 1.x | o | o | | o | o | o | o | o | d | | d | o | | 2.x | o | Lua | | Javascript | C#
Documentation¶
- C++ Programmers' Documentation Entry
- Javascript Programmers' Documentation Entry
- Lua Programmers' Documentation Entry
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