1.0.5 • Published 4 years ago
autotexturepacker v1.0.5
config配置表说明
{
"download": {
"url": //下载地址
},
"downloadPath": //下载图片保存地址
"texturePack": {
"UnPackFolderArray": //忽略不打包文件夹数组
"outPutPath": //合图后输出目录
}
}
使用说明
step1:
Google Drive API申请 参考文档 https://docs.google.com/document/d/13_ZstqtJUVCxtGWv1_I_el_FFWrsyt5XUHIdb6ply2U/edit?usp=sharing
step2:
安装gulp
npm install --global gulp-cli
npm init
npm install --save-dev gulp
参考:https://gulpjs.com/docs/en/getting-started/quick-start/
step3:
install free-tex-packer-core
npm install free-tex-packer-core
step4:
用法:npm config list
下载图片: gulp download
图集打包: gulp pack