Create an example game for android win32 cocos2dx

Source: Internet
Author: User
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 ~~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.