@H_403_6@1 所需软件
@H_403_6@2 安装@H_403_6@python-2.7.8.amd64.msi
注意将其中的有一步设置,@H_403_6@Add python.exe to path
设置@H_403_6@python的环境变量
@H_403_6@3 解压@H_403_6@cocos2d-x-2.2.3.zip
@H_403_6@4 打开命令行窗口,进入:@H_403_6@E:\Installed\cocos2d-x-2.2.3\tools\project-creator
输入:@H_403_6@python create_project.py-project Hello -package com.czbk.hello -language cpp
运行结果:
E:\Installed\cocos2d-x-2.2.3\tools\project-creator>python create_project.py -project Hello -package @H_403_6@com.czbk.hello -language cpp proj.ios : Done! proj.android : Done! proj.win32 : Done! proj.winrt : Done! proj.wp8 : Done! proj.mac : Done! proj.blackberry : Done! proj.linux : Done! proj.marmalade : Done! proj.tizen : Done! proj.wp8-xaml : Done! New project has been created in this path: E:\Installed\cocos2d-x-2.2.3\tools\project-creator/../../ projects/Hello Have Fun!
E:\Installed\cocos2d-x-2.2.3\tools\project-creator>
|
@H_403_6@5 进入:@H_403_6@E:\Installed\cocos2d-x-2.2.3\projects\,这时候就发现已经有了@H_403_6@Hello项目
@H_403_6@6 进入:@H_403_6@E:\Installed\cocos2d-x-2.2.3\projects\Hello\proj.win32,双击@H_403_6@Hello.sln,这时候@H_403_6@vs2013就打开了这个项目,截图如下:
编译器:@H_403_6@TDM-GCC