标签:
1. 在mac上构建hello world很easy
./setup.py
source /Users/jiangxf/.bash_profile
cocos new AliGame -p com.mxhd.aligame -l cpp -d ali_game
输出
Runing command: new
> Copy template into /Users/jiangxf/dev/cocos2d-x-3.0/ali_game/AliGame
> Copying cocos2d-x files...
> Rename project name from ‘HelloCpp‘ to ‘AliGame‘
> Replace the project name from ‘HelloCpp‘ to ‘AliGame‘
> Replace the project package name from ‘org.cocos2dx.hellocpp‘ to ‘com.mxhd.aligame‘
好,打开/Users/jiangxf/dev/cocos2d-x-3.0/ali_game/AliGame/proj.ios_mac/AliGame.xcodeproj。
执行就可以见到helloworld了
cocos2dx 3.0研究(1)-- hello world程序
标签:
原文地址:http://www.cnblogs.com/hrhguanli/p/5079945.html