axmol/tools/project-creator/README.md

15 lines
672 B
Markdown
Raw Normal View History

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
2013-12-25 18:32:23 +08:00
* Linux: The tkinter was not installed in the linux's default python,therefore, in order to use the gui operate, you have to install the tkinter libaray manually. There is another way to create project by command line. see below for details
2013-12-25 16:34:23 +08:00
##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