Skip to content
This repository was archived by the owner on Oct 1, 2019. It is now read-only.
/ tfcsprite Public archive

tfcsprite is ToolKit for createjs convert sprite sheet tool

License

Notifications You must be signed in to change notification settings

atsumo/tfcsprite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tfcsprite Circle CI

Toolkit for CreateJSでパブリッシュしたの画像を読み込みをSpriteSheetに変換します。

install

nodeで実行しますのでnodeの動く環境が必要です。

npm install -g tfcsprite

How to use

$ Usage: tfcsprite <file> [options]

  Options:

    -h, --help                 output usage information
    -V, --version              output the version number
    -o, --output <file>        convert file name. If empty, override target file
    -s, --sprites <directory>  sprite file json data directory, default is sprites
    -p, --prefix <prefix>      image name prefix, default is "_" 

###example

$ cd example
$ tfcsprite sample.js -r 1 -o sample_10.js -s sprite

spriteのフォルダに入っているjsonデータの中身をすべてみて、sample.jsのmanifestに定義されているidと照らしあわせて、画像をrectで変換後sample_10.jsに出力します。

Contributing

@miyukiw @HAKASHUN @atsumo

About

tfcsprite is ToolKit for createjs convert sprite sheet tool

Resources

License

Stars

Watchers

Forks

Packages

No packages published