Prerequisites: vs2012 is installed and the cocos2d-x sdk 2.2.3 package is downloaded.
The old version uses the template in the package to create a project. Now the new package is created using python.
1. Download and install python https://www.python.org/version select 2.2.7, there is a problem with the high version.
2. After installation, configure the environment variable to add the Python installation root directory to the Path of the system environment variable
3. Click "Computer start"-"run"-"cmd" and enter "python" in dos to view the following information. The installation is successful.
4. Next we can use Python to create a new project and locate the command line to cocZ worker? Http://www.bkjia.com/kf/ware/vc/ "target =" _ blank "class =" keylink "> examples/sS/wrzPwqOouPm + examples + Laoo6k8L3A + cjxwpiagpgltzybzcm9" http://www.2cto.com/uploadfile/Collfiles/20140607/2014060709072079.jpg "alt =" ">
5. Enter the command: Run python create_project.py-project mygame-package com. hck. game-language cpp. mygame is the project name, com. hck. game is the project package name.
6. Finally, all the projects we created are under the cocos2d-x-2.2.3 \ projects directory, you can see the project we created. Open the created mygame and you will see the projects on each platform.
7. open the project to vs2012: To the folder D: \ cocos2d-x \ cocos2d-x-2.2.3 \ projects \ mygame \ proj. double-click mygame. sln, that is, you can open the project in vs2012, 2010, or other vs versions, and then you can develop it in the project.