Win8 Fool Edition vs2012+cocos2d-x 3.6 installation Tutorial

Source: Internet
Author: User

Today I installed a cocos2d-x 3.6 version of the tutorial busy the afternoon, so I decided I want to write a fool version of, a look will.


1. Install Microsoft Visual Studio 2012

I will go online to find it, a large pile, the key asked the mother.


2. Install and configure Python 2.x

Note here that you must download the Python version below 3.0 . You can enter the car when you install it.

Configuration: For environment variable configuration, locate the path variable in the system variable, environment variable, Advanced tab, advanced system settings, properties, and so on my computer (right-click), and add an environment variable that points to Python in its value. The format is [python installation path]; For example, I installed in the C drive my environment variable is added to C:\Python2.7, if there is no semicolon before the need to use a semicolon.


< Span style= "Font-family:simsun" > test is installed successfully:

Open Command terminal, enter python, if it appears python The version number is installed successfully.


3. Installing Cocos2d-x

: http://www.cocos.com/download/#

Download and unzip, the installation directory has a setup.py run it or go to cmd to file directory under Python setup.py.
Create Project: Direct input Command: Cocos new project name –P package name –l language –d Path
such as: Cocos new-l cpp-d E:\HelloWorld
Note: The newly created project will automatically have a HelloWorld demo program.
Cocos New parameter description can be entered Cocos new--help view
Run the project: find the created directory in the Proj.win32 inside of the Xx.sln file, double-click Run (Installed vs2012 premise),

Where classes store source code, COCOS2D is the class library that programming will use, resources is a resource file, 5 proj. The starting folder is the project project file of 5 platforms supported by Cocos2d-x, we first enter Proj.win32, open HelloWorld.sln start VS2012.


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Win8 Fool Edition vs2012+cocos2d-x 3.6 installation Tutorial

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.