cocos2dx 命令解释
A command line tool that lets you create,run,publish,debug,etc… your game. It is the swiss-army knife for cocos2d. This command line tool is in its early stages. Commands Required There are at least 2 groups of requirement currently. One is for cocos game project,such as
cocos project newcocos project new <project-name> [-l <cpp|lua|js>] [-p <package name>] [-d <directory>] [-t <template>] [-help] OPTIONS <project-name> Must be. The name of your project,wihtout space. -l <cpp|lua|js> Must be. Select the programming language for the new game. It can be,or -p <package-name> Optional. Set to "com.mycompany.mygame" by default -d &;directory> Optional. By default it will create the new project in your current path -t &;template> TBD. We will offer more templates like shooter game,super mardio game,isometric game tempaltes cocos project runcocos project run <target> [-m <mode>] This command will call compile and deplot <target> Must be. Targets can be,etc. -m <debug|release> Optional Mode can be or . By default it's debug mode. cocos project compilecocos compile -p <platform> [-s <project_dir][-m <mode>] [-j <number>] [-a <architecture>] [--ap <android_platform>] Compiles the current project to binrary -s the project base directory Optional. if not it specified,use current dir -p <platfrom> Must be. Should be [android|ios|linux|mac|win32]. Optional. Mode can be or . By default it's debug mode. In release mode,this command will compile lua or javascript into bytecode. Use |