当前位置:网站首页>cocos2d-x-3.2创建项目方法
cocos2d-x-3.2创建项目方法
2022-07-31 05:15:00 【xuyid】
1.首先打开终端,cd到cocos2d-x-3.2目录下,运行命令./setup.py ,根据提示设置相应的ndk路径NDK_ROOT,sdk路径ANDROID_SDK_ROOT,ant路径ANT_ROOT,cocos2d路径COCOS_CONSOLE_ROOT = “cocos2d-x-3.2/tools/cocos2d-console/bin”,也可以用open -t ~/.bash_profile 打开文件直接修改路径。
2.创建项目,在终端键入命令cocos new 文件名 -p 包名 -l 开发语言 -d 生成路径,cocos new NewGame -p com.cn.MainGame -l cpp -d/Users/xuyidong/Desktop
边栏推荐
- 为什么redis是单线程还那么快?
- UiBot存在已打开的MicrosoftEdge浏览器,无法执行安装
- Attribute Changer的几种形态
- 一文速学-玩转MySQL获取时间、格式转换各类操作方法详解
- C language tutorial (3) - if and loop
- (Crypto essential dry goods) Detailed analysis of the current NFT trading markets
- 代码执行漏洞
- On the side of Ali, tell me what are the application scenarios of message middleware you know?
- podspec自动化升级脚本
- Markdown 帮助文档
猜你喜欢
随机推荐
Linux中mysql密码修改方法(亲测可用)
Yuan prospect and four track of the universe
Hyper-V新建虚拟机注意事项
mac10.14中安装mysqldb
win11中利用IIS10搭建asp网站
js中的对象与函数的理解
What is the difference between NFT and digital collection?
(Crypto essential dry goods) Detailed analysis of the current NFT trading markets
The MySQL database in Alibaba Cloud was attacked, and the data was finally recovered
The feign call fails, JSON parse error Illegal character ((CTRL-CHAR, code 31)) only regular white space (r
【云原生】开源数据分析 SPL 轻松应对 T+0
MySQL压缩包方式安装,傻瓜式教学
Gradle sync failed: Uninitialized object exists on backward branch 142
js中的全局作用域与函数作用域
Linux修改MySQL数据库密码
【JVM加载】---类加载机制
理解js运算符
npm WARN config global `--global`, `--local` are deprecated. Use `--location solution
著名网站msdn.itellyou.cn原理分析
On the side of Ali, tell me what are the application scenarios of message middleware you know?








