Hello Everyone
I am cocos2d-iphone user since 2010. I know cocos2d-iphone is an awesome engine. Its easy to use API style makes the engine super easy to learn and use , especially for beginner game developers, even non-game developers can learn cocos2d quickly.
This situation are changing due to the rapid development of cocos2d-x family. And there are more and more people are using cocos2d-x for their next big game. And at a very long time, the cocos2d community lacks documentation extreamly, as we all know that the documents are very important for new comers.
So I am trying to keep the Wiki system update to date. Now the http://cocos2d-x.org/wiki has been improved a little bit.
Here is my plan:
1.Clean all the out-dated docs to the “deprecated section”.
2.Rearrange all the wiki pages to make it more easier for developers to view.
3.Move all the documentations from https://github.com/chukong/cocos-docs/blob/master/catalog/en.md to the wiki. Because the wiki system can be searched with Google.
4.Add some external tutorials and learning resources.
5.(IMPORTANT)I will constantly keep all the document up to date.
6. If you had already written some great cocos2d-x tutorials, please let me know. I will add them to the wiki system and give a link back to your blog.
The old wiki system contains a huge amount of document, so I need you(the awesome cocos2d-x developers) to help me to do the job together. It will make a difference.
If you find any documentation which are out-dated, please leave a message in the thread. I will try to update it.
Update:I have moved all the doc from Doc in Github to our wiki system. But there are still some docs are marked with ugly TBD. We should get rid of them.
Here I want to craft a developer friendly guides for new cocos2d-x developers.
Here is the catalog:
1. Introduction
####What is Cocos2d-X?
####What changed with Cocos2d-X 3.0
####What should we choose between v2.x and v3.x?
2. Setup
####Installing Eclipse(Xcode, Visual Studio), JDK, NDK, ADT, python2.7, ant
####Installing Cocos2d-X
Installing on Windows
Installing on Linux
Installing on Mac
Engine directory structure overview
####Samples
How to run test-cpp/tests-lua on IOS
How to run test-cpp/tests-lua on Android
How to run test-cpp/tests-lua on WP8
###3. Installing Cocos-console
Create New Project
How to create new project with cocos-console on Windows
How to create new project with cocos-console on Linux
How to create new project with cocos-console on MacOS
Build and Run
How to build and run projects created by cocos-console on Windows
How to build and run projects created by cocos-console on Linux
How to build and run projects created by cocos-console on MacOS
###4. Your First Game with Cocos2d-x
The project directory structure
How to construct a game with cocos2d-x
###5. Basics
In this section, we will cover some basic and very important ideas of cocos2d-x. Such as:
(1)The scene graph architecture,
(2)the coordination system and the difference between the screen coordination and OpenGL coordination.
(3)basic Action,
(4) Schedulers and game loop
(5) Menu system
(6)UI controls
(7) Event Handling - touch, keyboard,custom,accelometer etc
(8) sprites and sprite animations.
(9)audio system
(10)physics and collide detection
(11)how to save and load game data
###6. Scripting( Lua binding vs javascript binding)
How to use binding generates to generate lua&js bindings?
How to manually bind c++ to js and lua and how to call js&lua function in c++.
Lua binding debugging Vs javascript bindding debugging
###7. Memory Management Guide
Memory management guide for c++ developers
Memory management guide for lua developers
Memory management guide for javascript developers
###8. Tutorials
In this section, all the great tutorials(both written and video tutorials are included) are gathered here.
###9. Advanced topics.
(this section may focus on some small topics,one topic a document, it should be well organized by their titles.)
(1)How to use render texture? How to save screenshot.
(2)How to adapt various kinds of device resolution
(3)How to use http to communicate with your sever
(4)How to use third party libraries. For example:sqlite
(5)How to use camera to achieve awesome following effects.
(6)How to use new render to draw your own opengl commands.
(7)How to deal with memory warning and memory optimization
(8)How to subclass your own action?
(9)How to integrate third party SDKs? Such as facebook, twitter, admob, flurry etc.
###10. Miscellaneous
How to migrate from v2.x to v3.x
The release note of all version
etc.
###11. Cocos2D-X FAQ
Every new cocos2d-x comers should read this section before asking for help in the forum.
Does the above catalog looks more clearer? I hope you could supplement it. If it’s ok, I will try to organize the wiki page to be the same as we proposed.
Thanks for reading.