xcode 5 cocos2d-x3.0 创建新项目简单粗暴

Usage: create_project.py -n <PROJECT_NAME> -k <PACKAGE_NAME> -l <cpp|lua|javascript> -p <PROJECT_PATH>
            Sample: create_project.py -n MyGame -k com.MyCompany.AwesomeGame -l javascript -p c:/mycompany

zhangsans-MacBook-Pro:~ zhangsan$ python /Users/zhangsan/Desktop/cocos2d-x-3.0beta2/tools/project-creator/create_project.py -n demo -k com.MyCompany.game -l cpp -p /Users/zhangsan/Desktop/Coco2d-xPrj

步骤及解析:

1.下载cocos2d-x-3.0beta2存放在桌面

2.执行

python /Users/zhangsan/Desktop/cocos2d-x-3.0beta2/tools/project-creator/create_project.py -n demo -k com.MyCompany.game -l cpp -p /Users/zhangsan/Desktop/Coco2d-xPrj

表示创建一个项目名demo的cocos2d-x项目到文件夹/Users/zhangsan/Desktop/Coco2d-xPrj 

3.完成,到文件夹/Users/zhangsan/Desktop/Coco2d-xPrj 运行项目

你可能感兴趣的:(python,xcode,cocos2d-x,cocos2d-x,2d,5,3.)