2013-12-25 15:53:47 +08:00
|
|
|
#create_project
|
2013-12-25 16:34:23 +08:00
|
|
|
|
|
|
|
First you need install python environment.
|
|
|
|
|
|
|
|
There have double ways create new cocos project.
|
|
|
|
Notice:The best of generate path is english path.
|
|
|
|
##1.UI
|
|
|
|
* Windows: double click "create_project.pyw" file
|
|
|
|
* Mac: ./create_project.pyw
|
|
|
|
* Linux: The tkinter was not installed in the linux's default python,
|
|
|
|
##2.console
|
|
|
|
$ cd cocos2d-x/tools/project-creator
|
|
|
|
$ ./project-creator.pyw --help
|
|
|
|
$ ./project-creator.pyw -n mygame -k com.your_company.mygame -l cpp -p /home/mygame
|
|
|
|
$ cd /home/mygame
|