Overview

Version 207 (Zhe Wang, 2012-06-14 02:06)

1 204 Zhe Wang
h1. Welcome to Cocos2d-X
2 1 Zhe Wang
3 197 Hao Wu
Cocos2d-X is a game engine framework based on Cocos2d-iPhone, which consists of expanding supported platforms, with multiple choice of programming languages thats shares the same API structure. 
4 199 Zhe Wang
5 197 Hao Wu
Programmers can choose to use their preferred language to achieve their targeted platform
6 200 Zhe Wang
* [[native|Native branch]] written in C++, with a little Java and Objective-C. Lua and javascript are binded as scripting language. 
7 201 Zhe Wang
* [[html5|HTML5 branch]], also known as cocos2d-html5, is written in Javascript, that focuses on desktop browsers
8 197 Hao Wu
* XNA port, is written in C#, focus on Windows Phone 7 and XNA.
9 1 Zhe Wang
10 197 Hao Wu
All the branches above are released under "MIT License":http://en.wikipedia.org/wiki/MIT_License. 
11 1 Zhe Wang
12 197 Hao Wu
With cocos2d-x framework, developers can easily create or port their games onto iOS, Android, Bada, BlackBerry Qnx, Marmalade, WindowsXP/Windows7, Linux and Windows8 Metro.
13 1 Zhe Wang
14 207 Zhe Wang
Here's a complete [[Tutorials]] for beginners.
15 206 Zhe Wang
16 206 Zhe Wang
We aspired to create the world-class open source framework.
17 1 Zhe Wang
18 197 Hao Wu
h1. Programming languages vs. Targeted platforms
19 188 Zhe Wang
20 197 Hao Wu
"o" stands for: working
21 197 Hao Wu
"i" stands for: supported but inactive/not merged/deprecated
22 197 Hao Wu
"w" stands for: Work in Progress
23 197 Hao Wu
24 1 Zhe Wang
|         |_. Platforms   |_. C++              |_. Lua    |_. Javascript |_. C#|                 
25 196 Zhe Wang
|_/7^. Mobile Platforms |=. iOS   |=. o |=. o      |=. w             |       |
26 197 Hao Wu
|=. Android              |=. o                   |=. o       |=. w             |      |
27 1 Zhe Wang
|=. WindowsPhone7 |                          |            |                    |=. o |
28 189 Zhe Wang
|=. Bada                   |=. o                   |            |                    |        |
29 189 Zhe Wang
|=. BlackBerry QNX   |=. o                   |            |                    |        |
30 189 Zhe Wang
|=. MeeGo               |=. i | | | |
31 188 Zhe Wang
|=. Marmalade         |=. o                   |            |                    |        |
32 198 Zhe Wang
|_/4^. Desktop Platforms |=. win32 |=. o  |=. o |=. w  | |
33 189 Zhe Wang
|=. Linux |=. o | | | |
34 188 Zhe Wang
|=. Win8 Metro |=. o  | | | |
35 188 Zhe Wang
|=. Mac OS X |=. i | | | |
36 197 Hao Wu
|_/4^. Web Browsers | HTML5 ready platforms | | |=. o | |
37 181 Zhe Wang
               
38 181 Zhe Wang
h1. Documentation
39 187 Zhe Wang
40 195 Zhe Wang
* [[native|C++ Programmers' Documentation Portal]]
41 195 Zhe Wang
* [[html5|Javascript Programmers' Documentation Portal]]
42 195 Zhe Wang
* [[Lua|Lua Programmers' Documentation Portal]]
43 156 Zhe Wang
44 1 Zhe Wang
h1. Download
45 1 Zhe Wang
46 90 Zhe Wang
* Stable Version (Recommend)
47 181 Zhe Wang
** http://download.cocos2d-x.org/
48 115 Zhe Wang
49 1 Zhe Wang
* Cocos2d-x github repo:
50 181 Zhe Wang
** http://github.com/cocos2d/cocos2d-x/
51 181 Zhe Wang
52 1 Zhe Wang
* Cocos2d-html5 github repo:
53 1 Zhe Wang
** http://github.com/cocos2d/cocos2d-html5/
54 181 Zhe Wang
55 32 Zhe Wang
56 181 Zhe Wang
h1. Contribution
57 181 Zhe Wang
58 126 Zhe Wang
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
59 126 Zhe Wang
60 205 Zhe Wang
* [[How To Participate in Cocos2d-x Project]]
61 32 Zhe Wang
* If you find a bug!
62 132 Blanky Blank
** please kindly report the bug on our "forum":http://forum.cocos2d-x.org , post it on the correct subforum for your platform. Details on how to make the bug appear would be very helpful.
63 130 Blanky Blank
* If you fix a bug!
64 1 Zhe Wang
** please fork our repository on http://github.com/cocos2d/cocos2d-x/, and commit your fixed code
65 130 Blanky Blank
** or you can post your fix code on the forum, we will commit it to github
66 1 Zhe Wang
* I would like to add a port to another platform!
67 170 Zhe Wang
** please contact us via email/twitter/forum, etc. It would be our pleasure to add a subproject on this website for you!
68 170 Zhe Wang
** coding style: please reference the "Google CPP StyleGuide":http://code.google.com/p/google-styleguide/ Here's a zhCN version: "Google CPP StyleGuide in zhCN":http://code.google.com/p/zh-google-styleguide/
69 130 Blanky Blank
* Show cocos2d-x logo in your game
70 181 Zhe Wang
** 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]]
71 40 Zhe Wang
72 156 Zhe Wang
h1. Support & Help
73 130 Blanky Blank
74 171 Zhe Wang
* Forum:  http://forum.cocos2d-x.org/
75 156 Zhe Wang
* Twitter: http://www.twitter.com/cocos2dx/
76 1 Zhe Wang
* Weibo: http://weibo.com/cocos2dx/
77 1 Zhe Wang
* mail: walzer (at) cocos2d-x.org