
【ティラノスクリプト】セルアニメプラグインの導入方法
ティラノスクリプトでセルアニメプラグインの導入方法について解説します。
【参考記事】
上記の記事を参考にさせていただきました。
【使用素材】
https://pipoya.net/sozai/assets/effects/effect-battle-unique/
上記の素材を使用させていただきました。
①プラグインのダウンロード
上記のリンクから、プラグインをダウンロードします。
これで、プラグインのダウンロードは完了です。
②プラグインの配置

先程、ダウンロードしたzipファイルを解凍し、pluginフォルダに配置します。
これで、プラグインの配置は完了です。
③画像のダウンロード

https://pipoya.net/sozai/assets/effects/effect-battle-unique/
上記のリンクから、プラグインをダウンロードします。
これで、画像のダウンロードは完了です。
④画像の配置

先程、ダウンロードしたzipファイルを解凍します。
「戦闘エフェクトアニメ42」フォルダの中の
「480」フォルダをクリックします。

「pipo-btleffect157-min.png」ファイルをコピーします。

「kiss.png」ファイルにファイル名を変更し、imageフォルダに配置します。
これで、画像の配置は完了です。
⑤first.ksの編集
[plugin name="celanim"]
first.ksに上記のコードを貼り付けます。
これで、first.ksの編集は完了です。
⑥scene1.ksの編集
[define_celanim anim="A" storage="kiss.png" cel_width="480" cel_height="480"]
[layopt layer="1" visible="true"]
[celanim anim="A" layer="1" x="400" y="0" count="infinite" speed="1"]
上記のコードをセルアニメを再生したいシナリオに貼り付けます。
今回は、scene1.ksに上記のコードを貼り付けました。
これで、scene1.ksの編集は完了です。
以上で解説を終わります。おつかれさまでした。