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