C:\python27 d:\software\cocos2d-x-3.1.1\tools\cocos2d-console\bin It is important to note that the path of adding Python and Cocos2d-console, I am here Then, you set the path to the Cocos2d-console, which you can do with Python.įirst, open the System Information window.Ĭlick Environment Variables in the lower right cornerįor example, after selecting Path, click the Edit button below. Wait a moment and the installation is complete.Īfter installation, set the system path, which is saved by default under C:\Python27. Windows 8 also pops up an account control hint.Īfter confirming, start the actual installation. Select the installation content, by default you can There are now two versions, be sure to download the 2.7.7 version. This is a tool that is implemented using Python scripts, so you have to install Python on the system first, the official website: The program itself is actually saved under the Bin folder. creating a project using Cocos2d-consoleĬOCOS2D provides the command-line way to create and manage projects, called Cocos2d-console, located in the folder Tools\cocos2d-console. Operation is normal, the effect is as follows The project name of the main program is cpp-test (Winodws Phone 8.0) in the Cpp-tests folder. Then take a look at the Windows Phone version of the test program. Note the startup project should be set to cpp-tests.įirst, a Windows security prompt will be paged out and agreed on. To the folder build, cocos2d-win32.vc2012 is the Windows version of the test program project, and cocos2d-wp8.vc2012 is the Windows Phone version of the test program project.įirst take a look at the Windows version of the test program, note that the project is more, compile time is relatively long. The test procedure provided by the compiling and running system We download the latest V3.1.1, the new version will be more, but there may be some new bugs we need to solve. This article assumes that you have installed VS2012 or VS2013, and that you have installed the SDK for Windows Phone8.Ĭlick Download in the menu bar to go to the download page. Cocos2d-x is currently a popular game development framework, the latest version is 3.1.1, some of the online tutorials are older, this article will explain how to use the latest 3.1.1 to create a Windows Phone 8 development environment.
0 Comments
Leave a Reply. |