Record learning cocos2d-x3.0-windows configurations

Source: Internet
Author: User

After that, I thought it was simple, but at the beginning, I had to prepare many things. It was not easy to do that.

It took a day to complete a simple game, package it on the android mobile phone, and run it... it's a headache. Record it now, so as not to forget it later.


The first object to be downloaded:

There is an android simulator in the picture. It is good to simulate it on windows. You can also use the sdk manager.exe to install it. However, this is too slow to handle, so you can still download a bluestacks

Simulator, I feel pretty good. The rest should be necessary.


After the installation is complete, do not use Chinese characters in the path. Configure the environment variables:



Download cocos2d-x3.0:

Decompress the package to a drive and do not use Chinese characters for the path.

1. Click setup. py for configuration.

2. Under the build directory, click the cocos2d-win32.vc2012.sln to compile.


After that, you can create your own project:

You must use the command to create a bat file.


Compile the project:



After compilation, you can install it on your android phone.


Finally, lua was written and debugged. It was developed directly in vs2012. I think it is quite good. How good is a development tool.



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.