gka-tpl-studiojs

2.8.0 • Public • Published

gkatemplatew

gka-tpl-studiojs

gka 文件生成模板,一键式图片资源优化,生成 studiojs (canvas) 序列帧动画文件。

  • 输出 studiojs 动画文件
  • 结合 -uc 支持 相同帧图片复用空白裁剪优化✓ (可选)
  • 默认开启 开启合图优化

示例预览示例代码

Install

$ npm i gka -g               # install gka 
 
(已内置)$ npm i gka-tpl-studiojs -g  # install gka-tpl-studiojs 

Usage

$ gka <dir> -t studiojs [options]

Example

$ gka E:\gka-test\img -t studiojs
BeforeAfter

./img
├── hello-01.png
├── hello-02.png
├── hello-03.png
├── hello-04.png
├── hello-05.png
└── ...

./gka-hello
└── gka.html
└── data.js
└── img
    └── sprites.png

Links

Package Sidebar

Install

npm i gka-tpl-studiojs

Weekly Downloads

12

Version

2.8.0

License

MIT

Unpacked Size

5.55 kB

Total Files

5

Last publish

Collaborators

  • joeyguo