标签:art 解压 text package create cin csdn cocos2d-x size
1 所需软件
2 安装python-2.7.8.amd64.msi
注意将当中的有一步设置,Add python.exe to path
设置python的环境变量
3 解压cocos2d-x-2.2.3.zip
4 打开命令行窗体,进入:E:\Installed\cocos2d-x-2.2.3\tools\project-creator
输入: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 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>
|
5 进入:E:\Installed\cocos2d-x-2.2.3\projects\,这时候就发现已经有了Hello项目
6 进入:E:\Installed\cocos2d-x-2.2.3\projects\Hello\proj.win32,双击Hello.sln,这时候vs2013就打开了这个项目。截图例如以下:
对Hello进行编译。效果图例如以下:
编译器:TDM-GCC
标签:art 解压 text package create cin csdn cocos2d-x size
原文地址:http://www.cnblogs.com/cynchanpin/p/6719448.html