cocos2d-x/tools/project-creator
James Chen bb650729c3 Updates cocos_files.json. 2014-01-23 11:08:10 +08:00
..
config-create
module Updates cocos_files.json. 2014-01-23 11:08:10 +08:00
README.md Corrected a few mistakes in project-creator README 2014-01-12 14:38:09 +08:00
create_project.py

README.md

#Creating A Project

First you need to install the Python environment.

There are two ways to create a new cocos project. Notice: The best project path is an English path without spaces. ##1.UI

  • Windows: double click the "create_project.py" file
  • Mac: use ./create_project.py
  • Linux: The Tkinter library was not installed automatically in Linux, therefore, in order to use the GUI to operate, you have to install Tkinter manually (see http://tkinter.unpythonic.net/wiki/How_to_install_Tkinter). There is another way to create projects by command line. See below for details.

##2.console To use this, open the terminal and type:

	$ cd cocos2d-x/tools/project-creator
	$ ./project-creator.py --help
	$ ./project-creator.py -n mygame -k com.your_company.mygame -l cpp -p /home/mygame
	$ cd /home/mygame