1. Create a project
0. After you download and decompress the source package, find the cocos2d-x folder, click "build-win32.bat" to compile the entire project, and then click "install-templates-msvc.bat" to install wizard. The bat script automatically corresponds to vs2008 or 2010.
1. Run the create-android-project.bat to create the android project Test001;
2. Open the cocos2d-win32.vc2010.sln and create the win32 project Test001;
3. The project folder in vs is in the same folder as android, but the project folder name can coexist. In this way, different projects can use the same code ~~ Wow, haha ~~
Note that you must delete the program files in the previous classes before adding them. Otherwise, the files added later will be appended to the back of the previous files!
6. Run it!
2. Create an example of http://cocos2d.cocoachina.com/resource
Just add the code step by step ~~~
1. There are many changes to the cocos2d standard example, and many function names have changed. For details, refer to http://www.cnblogs.com/topwin/archive/2012/09/12/2682042.htmlmodify the code;
2. For more information, see http://blog.csdn.net/akof1314/article/details/8268882.
3. Since then the most classic cocos2d-x tutorial has been introduced, thank you !! Thank you ~~