STEP1: Open Terminal

SETP2: Run setup.py

SETP3: Run source /Users/your_user/.bash_profile( so that environment variables are actually updated)

SETP4: Run cocos new my game -p com.your_company.mygame -l cpp -d /diretory_to_your_game



posted on 2017-08-14 10:50  lxjshuju  阅读(103)  评论(0编辑  收藏  举报