0.1.16 • Published 9 years ago

trconvert v0.1.16

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

trconvert NPM version Circle CI

Toolkit for CreateJSでパブリッシュしたアニメーション実行ファイルのRatioを変換するコマンドラインツールです。 パブリッシュ後のCanvas操作の座標を任意の倍率に静的に処理するようになっています。node.jsで動きます。

install

nodeで動くのでnodeのインストールが必要です。

npm install -g trconvert

使い方

$ trconvert <file> [options]
  Usage: tfconvert <file> [options]

  Options:

    -h, --help           output usage information
    -V, --version        output the version number
    -o, --output         convert output file. If empty, output filename will be replaced [target_file_body]_[ratio*10].js.
    -r, --ratio <ratio>  convert ratio. path caluculated by this rate. ( default 1 )
    -b, --base <base>    convert base ratio (default ratio 2)

変換対象のToolkit for CreateJSで書き出されたJSファイル。

options

出力ファイルや変換レートなどの実行時パラメータを渡せます。詳しくはtrconvert -hとしてヘルプを見てください。

TODO

  • npm installに対応予定 done

参照

https://github.com/ysugimoto/TFCRatioConverter こちらのロジックをベースに拡張しました。

注意

シェイプのコンパクト化すると、うまく動かない可能性があるので、パブリッシュ時にシェイプのコンパクト化のチェックを外すようにしてください。

###release

gulp tag --npm

LICENSE

@see LICENSE MIT License.

TFCRatioConverter included in this product is MIT License.

0.1.16

9 years ago

0.1.14

9 years ago

0.1.11

9 years ago

0.1.10

9 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago