axmol/tools/project-creator/README.md

15 lines
668 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
2014-01-06 14:24:33 +08:00
* Windows: double click "create_project.py" file
* Mac: ./create_project.py
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
2014-01-06 14:24:33 +08:00
$ ./project-creator.py --help
$ ./project-creator.py -n mygame -k com.your_company.mygame -l cpp -p /home/mygame
2013-12-25 16:34:23 +08:00
$ cd /home/mygame