Open lihex opened 10 years ago
How to use jscompile? Thank you!
you can use cocos jscompile --help for query the help info and it offers a template cfg file for compile comfiguration, then you will quickly find how to use it.
Thank you very much!
2014-04-19 14:28 GMT+08:00 lihex notifications@github.com:
you can use cocos jscompile --help for query the help info and it offers a temple for compile comfiguration, then you will quickly find how to use it
— Reply to this email directly or view it on GitHubhttps://github.com/cocos2d/cocos2d-console/issues/27#issuecomment-40862336 .
It is not work when I input cocos clean, it's said no this command. How can I use it?
I have set-up cocos2d-js which includes cocos2d-x within it. But in this case, all cocos2d-x templates are in a different directory than the default template directory set for js. So even if I have all the templates for cpp, running something like cocos new proj1 -l cpp
doesn't work.
I think, it would be great if we can have -p <template_dir>
instead of -p <template>
as parameter. Then it will not be necessary to have all templates in same directory.
Please, correct me, if I am thinking in a wrong direction. Thanks.
i used cocos 3.1 command to create my test project,but i dont konw how to manage lib in created win32 project in vs2013, thus, Vec2.h can
t used in my project, is there any parameter for this command to manage lib ? If Someone can tell me how to add Vec.h to my project in vs2013
i used cocos 3.1 command to create my test project,but i dont konw how to manage lib in created win32 project in vs2013, thus, Vec2.h can
t used in my project, is there any parameter for this command to manage lib ? If Someone can tell me how to add Vec.h to my project in vs2013
i used cocos 3.1 command to create my test project,but i dont konw how to manage lib in created win32 project in vs2013, thus, Vec2.h can
t used in my project, is there any parameter for this command to manage lib ? If Someone can tell me how to add Vec.h to my project in vs2013
i used cocos 3.1 command to create my test project,but i dont konw how to manage lib in created win32 project in vs2013, thus, Vec2.h can
t used in my project, is there any parameter for this command to manage lib ? If Someone can tell me how to add Vec.h to my project in vs2013
i used cocos 3.1 command to create my test project,but i dont konw how to manage lib in created win32 project in vs2013, thus, Vec2.h can
t used in my project, is there any parameter for this command to manage lib ? If Someone can tell me how to add Vec.h to my project in vs2013
i used cocos 3.1 command to create my test project,but i dont konw how to manage lib in created win32 project in vs2013, thus, Vec2.h can
t used in my project, is there any parameter for this command to manage lib ? If Someone can tell me how to add Vec2.h to my project in vs2013
i used cocos 3.1 command to create my test project,but i dont konw how to manage lib in created win32 project in vs2013, thus, Vec2.h can
t used in my project, is there any parameter for this command to manage lib ? If Someone can tell me how to add Vec2.h to my project in vs2013
i used cocos 3.1 command to create my test project,but i dont konw how to manage lib in created win32 project in vs2013, thus, Vec2.h can
t used in my project, is there any parameter for this command to manage lib ? If Someone can tell me how to add Vec2.h to my project in vs2013
i used cocos 3.1 command to create my test project,but i dont konw how to manage lib in created win32 project in vs2013, thus, Vec2.h can
t used in my project, is there any parameter for this command to manage lib ? If Someone can tell me how to add Vec2.h to my project in vs2013
"clean" does not exist!
Error: argument 'clean' not found
have no clean
hola, saludos a todos!! con cocos2d-x en la version actual puedo programar en Js y compilar para todas las plataformas? saludos
The function, run_shell(cmd, cwd), in build_console.py returns exit status 1 when I run it. I can't seem to figure out what is going on...
only renderer is misshunter1hh1 heatheelr m houser non-animated in person in or out of mod or simulation so I can do my job and buggy and I need to help but only she can recieve then I can give money to buggy. no coding for legal purpose
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
new
,compile
,run
, another is for updating cocos framework, such asversion
,install
,update
.cocos project new
OPTIONS
Must be. The name of your project, wihtout space.
Must be. Select the programming language for the new game. It can be, or
Optional. Set to "com.mycompany.mygame" by default
Optional. By default it will create the new project in your current path
TBD. We will offer more templates like shooter game, super mardio game, isometric game tempaltes
cocos project run
This command will call compile and deplot
OPTIONS
Must be. Targets can be, , , etc.
Optional Mode can be or . By default it's debug mode.
cocos project compile
Compiles the current project to binrary
Optional. if not it specified, use current dir
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
debug
by default.Optional. How many threads to do the compilation
Architecture can be
<arm>
,<armeabi>
,<arm64>
,<x86>
or<all>
The android sdk platform number, valid android-platform are:[10|11|12|13|14|15|16|17|18|19]
cocos project deploy
Installs the package to a target device.
Targets can be, ,
cocos project clean
Clean the compiled sources and assets on all platforms. By default, it cleans only your game, but reserve the binary output for framework. If you inputs, then it will clean both your game and the cocos2d-x framework
If you have a nice design please do not hesitate to write your idea here.