cocos2d-x-2.2.5项目创建–命令行创建[通俗易懂]

2022-07-08 20:40:48 浏览数 (2)

大家好,又见面了,我是全栈君。

Gavin:downloads DavidLik$ cd cocos2d-x-2.2.5/

Gavin:cocos2d-x-2.2.5 DavidLik$ cd tools/

Gavin:tools DavidLik$ cd project-creator/

Gavin:project-creator DavidLik$ sudo ./create_project.py

Usage: create_project.py -project PROJECT_NAME -package PACKAGE_NAME -language PROGRAMING_LANGUAGE

Options:

-project PROJECT_NAME Project name, for example: MyGame

-package PACKAGE_NAME Package name, for example: com.MyCompany.MyAwesomeGame

-language PROGRAMING_LANGUAGE Major programing lanauge you want to used, should be [cpp | lua | javascript]

Sample 1: ./create_project.py -project MyGame -package com.MyCompany.AwesomeGame

Sample 2: ./create_project.py -project MyGame -package com.MyCompany.AwesomeGame -language javascript

发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/115842.html原文链接:https://javaforall.cn

0 人点赞