Cocos2d-x2.x environment setup Configuration

Source: Internet
Author: User

[Installation Tool]

Vs2012

Cocos2D-X 2.2.3

Python 2.7.8

 

1. Run Hello world in cocos2dx!

1, in the Cocos2D-X 2.2.3 directory, click the cocos2d-win32.vc2012.sln.

2. In the open solution, click "generate SOLUTION ". Start compilation.

3. After the project is generated, right-click "hellocpp" and choose "set to start Project ".

Start the debugging and you will see that helloworld is running.

2. Create a new project

CD to D: \ cocos2d-x-2.2.3 \ tools \ Project-creator path,

Run the following command:

Python create_project.py-Project helloworld-package com. liuzhi. Study-language CPP

In this way, a new project is generated, and all versions are available.

And the project it creates is in the projects folder in the cocos2d-x2.2.3 folder.

 

Go to the newly created folder and open helloworld. sln.

Then run it in vs2012.

 

Cocos2d-x2.x environment setup Configuration

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.