Gavin:downloads DavidLik$ cd cocos2d-x-2.2.5/

Gavin:cocos2d-x-2.2.5 DavidLik$ cd tools/

Gavin:tools DavidLik$ cd project-creator/

Gavin:project-creator DavidLik$ sudo ./create_project.py 

Usage: create_project.py -project PROJECT_NAME -package PACKAGE_NAME -language PROGRAMING_LANGUAGE

Options:

  -project   PROJECT_NAME          Project name, for example: MyGame

  -package   PACKAGE_NAME          Package name, for example: com.MyCompany.MyAwesomeGame

  -language  PROGRAMING_LANGUAGE   Major programing lanauge you want to used, should be [cpp | lua | javascript]

 

Sample 1: ./create_project.py -project MyGame -package com.MyCompany.AwesomeGame

Sample 2: ./create_project.py -project MyGame -package com.MyCompany.AwesomeGame -language javascript