cocos2.x 创建命令:

1.cmd 去到cocos2d-x-2.2.3\tools\project-creator\目录下

2.python create_project.py -project HelloWorld -package com.eyu.HelloWorld -language cpp


cocos3.x

进入到目录**cocos2d-x-3.2alpha0/tools/cocos2d-console/bin/cocos.py**

打开终端运行**cocos.py**脚本创建文件

pythoncocos.pynewtest-pcom.coco2dx.org-lcpp-d~/Desktop