Overview

Version 204 (Zhe Wang, 2012-06-10 12:21)

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 197 Hao Wu
We are aspired to create the world-class open source framework.
15 1 Zhe Wang
16 197 Hao Wu
h1. Programming languages vs. Targeted platforms
17 188 Zhe Wang
18 197 Hao Wu
"o" stands for: working
19 197 Hao Wu
"i" stands for: supported but inactive/not merged/deprecated
20 197 Hao Wu
"w" stands for: Work in Progress
21 197 Hao Wu
22 1 Zhe Wang
|         |_. Platforms   |_. C++              |_. Lua    |_. Javascript |_. C#|                 
23 196 Zhe Wang
|_/7^. Mobile Platforms |=. iOS   |=. o |=. o      |=. w             |       |
24 197 Hao Wu
|=. Android              |=. o                   |=. o       |=. w             |      |
25 1 Zhe Wang
|=. WindowsPhone7 |                          |            |                    |=. o |
26 189 Zhe Wang
|=. Bada                   |=. o                   |            |                    |        |
27 189 Zhe Wang
|=. BlackBerry QNX   |=. o                   |            |                    |        |
28 189 Zhe Wang
|=. MeeGo               |=. i | | | |
29 188 Zhe Wang
|=. Marmalade         |=. o                   |            |                    |        |
30 198 Zhe Wang
|_/4^. Desktop Platforms |=. win32 |=. o  |=. o |=. w  | |
31 189 Zhe Wang
|=. Linux |=. o | | | |
32 188 Zhe Wang
|=. Win8 Metro |=. o  | | | |
33 188 Zhe Wang
|=. Mac OS X |=. i | | | |
34 197 Hao Wu
|_/4^. Web Browsers | HTML5 ready platforms | | |=. o | |
35 181 Zhe Wang
               
36 181 Zhe Wang
h1. Documentation
37 187 Zhe Wang
38 195 Zhe Wang
* [[native|C++ Programmers' Documentation Portal]]
39 195 Zhe Wang
* [[html5|Javascript Programmers' Documentation Portal]]
40 195 Zhe Wang
* [[Lua|Lua Programmers' Documentation Portal]]
41 156 Zhe Wang
42 1 Zhe Wang
h1. Download
43 1 Zhe Wang
44 90 Zhe Wang
* Stable Version (Recommend)
45 181 Zhe Wang
** http://download.cocos2d-x.org/
46 115 Zhe Wang
47 1 Zhe Wang
* Cocos2d-x github repo:
48 181 Zhe Wang
** http://github.com/cocos2d/cocos2d-x/
49 181 Zhe Wang
50 1 Zhe Wang
* Cocos2d-html5 github repo:
51 1 Zhe Wang
** http://github.com/cocos2d/cocos2d-html5/
52 181 Zhe Wang
53 32 Zhe Wang
54 181 Zhe Wang
h1. Contribution
55 181 Zhe Wang
56 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
57 126 Zhe Wang
58 32 Zhe Wang
* If you find a bug!
59 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.
60 130 Blanky Blank
* If you fix a bug!
61 1 Zhe Wang
** please fork our repository on http://github.com/cocos2d/cocos2d-x/, and commit your fixed code
62 130 Blanky Blank
** or you can post your fix code on the forum, we will commit it to github
63 1 Zhe Wang
* I would like to add a port to another platform!
64 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!
65 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/
66 130 Blanky Blank
* Show cocos2d-x logo in your game
67 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]]
68 40 Zhe Wang
69 156 Zhe Wang
h1. Support & Help
70 130 Blanky Blank
71 171 Zhe Wang
* Forum:  http://forum.cocos2d-x.org/
72 156 Zhe Wang
* Twitter: http://www.twitter.com/cocos2dx/
73 1 Zhe Wang
* Weibo: http://weibo.com/cocos2dx/
74 1 Zhe Wang
* mail: walzer (at) cocos2d-x.org