1 Star 0 Fork 0

tang_c / buildWorker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

star star star star star

buildWoker是个cocoscreator构建插件

(目前支持ccc2.x版本)

安装

全局安装安装

放到 ~\.CocosCreator\packages\ 文件夹下

项目安装

放到工程的packages\文件夹

功能:

  • 更新gamebase文件(分更新资源和脚本和只更新脚本)
  • panel即时修改assetlist
  • 导出音频为json,用于音频提示(导出的变量为audioList.{音频名称})
  • 接入tinypng压缩图集

使用

  • 配置config.json文件
  • 选项栏->扩展->buildWorker

注意:

  • 需要保证库的结构与当前项目的是一致的才可以更新

config配置说明:

字段 说明
baseLibPath 更新gamebase
scriptPath 更新脚本的路径
resourcesPath 更新资源的路径
ignoreFileList 更新忽略文件列表
ignoreFileSuffix 更新忽略的后缀类型

更新日志

ver0.0.3 (2021/08/29)

  • 更新一键png压缩工具(支持tinypng和pngquant)
  • 分离出png压缩插件到另一个仓库 一键压缩工具

ver0.0.2 (2021/7/15)

  • 支持更新音频导出d.ts文件

ver0.0.1 (2021/06/07)

  • 支持更新gamebase(分资源和脚本)
  • 一键使用vscode打开工程
  • 一键打开build目录
MIT License Copyright (c) 2021 tang_c Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

插件库 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/tang_c/build-worker.git
git@gitee.com:tang_c/build-worker.git
tang_c
build-worker
buildWorker
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891