找不到(或者说不存在)install-templates-msvc.bat文件

来源:互联网 发布:数据线头那边怎么缠 编辑:程序博客网 时间:2024/06/05 07:28

 

install-templates-msvc.bat has been cancelled since v2.1.5.

To install the new version of cocos2d-x. You need use python to install it.

  1. install python
  2. download and unzip the sdk
  3. enter \cocos2d-x-X.X.X\tools\project-creatory
  4. in command line enter the command

python create_project.py -project MyFirstApp -package com.yoyousoft.MyFirstApp -language cpp

-language option:cpp | lua | javascript

Then you can find the new project you created under \cocos2d-x-X.X.X\project\ folder.

总结:cocos2dx从2.1.5开始使用python创建工程

0 0
原创粉丝点击