被放弃的CocosStudio也支持命令发布资源
2017-05-24 21:10
537 查看
MacBook-Pro:~ apple$ /Applications/Cocos/Library/Cocos.Tool publish
2017-05-24 21:00:06.959 Cocos.Tool[41524:1575455] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
The provided command was badly formatted!
publish [options] <-f --file> <css file path> <-o --out> <out dir>
-w --whole Publish all resources.
-r --reference Publish reference resources.
-s --small Only publish project files(.csd、.csi).
-f --file The solution file(.ccs)path(absolute).
-o --out Publish path (absolute/relative).
-d --dataformat <serializer>
Publish data format,Default:csb File(Binary).
1. Serializer_FlatBuffers:
csb File (Binary). FlatBuffers is employed to read
binary files, featuring in high efficiency, small-
e size, significant security. Support Cocos2d-x C+
+ and LuaBinding.
2. Serializer_Json:
JSON File. Lightweight data transfer format, good
readability, native support for JavaScript. Suppor-
t Cocos2d-JS.
3. Serializer_Lua:
Lua File. Good readability and scalability. Suppor-
t Cocos2d-x LuaBinding.
常用参数
-w 是否全部发布
-r 发布引用资源
-s 仅发布.csd和.csi
-f 要发布的ccs项目的.ccs文件
-o 输出目录,可以是绝对和相对目录
-d 输入csd文件格式默认是csb。可选json和lua
2017-05-24 21:00:06.959 Cocos.Tool[41524:1575455] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.
The provided command was badly formatted!
publish [options] <-f --file> <css file path> <-o --out> <out dir>
-w --whole Publish all resources.
-r --reference Publish reference resources.
-s --small Only publish project files(.csd、.csi).
-f --file The solution file(.ccs)path(absolute).
-o --out Publish path (absolute/relative).
-d --dataformat <serializer>
Publish data format,Default:csb File(Binary).
1. Serializer_FlatBuffers:
csb File (Binary). FlatBuffers is employed to read
binary files, featuring in high efficiency, small-
e size, significant security. Support Cocos2d-x C+
+ and LuaBinding.
2. Serializer_Json:
JSON File. Lightweight data transfer format, good
readability, native support for JavaScript. Suppor-
t Cocos2d-JS.
3. Serializer_Lua:
Lua File. Good readability and scalability. Suppor-
t Cocos2d-x LuaBinding.
常用参数
-w 是否全部发布
-r 发布引用资源
-s 仅发布.csd和.csi
-f 要发布的ccs项目的.ccs文件
-o 输出目录,可以是绝对和相对目录
-d 输入csd文件格式默认是csb。可选json和lua
/Applications/Cocos/Library/Cocos.Tool publish -f /Users/apple/TestProject/TestProject.ccs -o res -w
相关文章推荐
- 【教程】CocosStudio2.x发布的资源在2d-x中的使用简介
- Cocos2dx:Cocos Studio2.0发布的CSB资源在Cocos2d-x中的使用
- cocos studio 发布资源的问题
- Cocos Studio2.0发布的资源在Cocos2d-x中的使用简介
- Cocos2d-JS中使用Cocos Studio资源03:设置界面
- Cocos2d-JS中使用Cocos Studio资源04:关卡选择界面
- Cocos2d-x加载Cocos Studio资源无法点击和交互
- 微软发布支持 Linux 和 OS X 平台的 Visual Studio Code
- vs中导入cocos studio2.1资源
- Cocos2d-JS中使用CocosStudio资源——ListView和ScrollView
- WebUI Studio for ASP.NET发布2013版本 全面支持HTML5和CSS3
- 获取Cocos Studio 2.X生成资源的子孙节点的方法
- WebUI Studio.NET® 2007 R1 用户界面套装新版本发布,全面支持AJAX技术
- 用Cocos Studio 2.3.2制作UI界面中控件不再支持运行3d动作特效
- cocos2d-lua里如何获取cocosstudio里的资源
- Cocos2d-JS中使用Cocos Studio资源02:登录界面
- Windows Phone App Studio发布重要更新-支持Windows 8.1 源代码生成
- WebUI Studio for ASP.NET发布2013版本 全面支持HTML5和CSS3
- 如何在Cocos2d-JS环境下使用Cocos Studio导出的资源
- Cocos2d-JS中使用CocosStudio资源——登录界面