まず大事なこと
tagsは text ではなくList<Map>です- そのため、P08/P09 の
ListGetListMapListFilterへそのままつなげます
tags の中身
各 tag は次の key を持つ Map です。
| key | 型 | 意味 |
|---|---|---|
name |
Text | tag 名 |
from_frame |
Int | 開始フレーム |
to_frame |
Int | 終了フレーム |
direction |
Text | 再生方向 |
repeat |
Int | repeat 回数 |
一番基本の使い方
AsepriteLoad
-> AseTags
-> ListGet
これで tag を 1 件選んで中身を確認できます。
例
もし Aseprite 側に
idlewalk
の 2 つの tag があるなら、tags は概念的にこうなります。
[
{
"name": "idle",
"from_frame": 0,
"to_frame": 3,
"direction": "forward",
"repeat": 0
},
{
"name": "walk",
"from_frame": 4,
"to_frame": 11,
"direction": "forward",
"repeat": 0
}
]
どういう時に使うか
- Aseprite の tag 情報を graph 側で参照したい時
- 特定の tag だけを
ListFilterで残したい時 - tag 名や frame 範囲を UI や variant 側へ渡したい時
注意
- v1 は tag 情報を読むだけです
- tag を編集して書き戻す高度な workflow は後段です