Back to Node List

Ase Tags

ase_tags

Extracts Aseprite animation tags as a list of maps.

Draft
Guide available
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
Aseprite
ase
AsepriteFile
Required
元の Aseprite document です。

Output Ports

NameTypeDescription
タグ一覧
tags
List<Map>
タグを map のリストとして返します。
タグ数
count
Int
タグ数です。
概要
summary
Text
抽出したタグの短い概要です。

まず大事なこと

  • tags は text ではなく List<Map> です
  • そのため、P08/P09 の
    • ListGet
    • ListMap
    • ListFilter へそのままつなげます

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 側に

  • idle
  • walk

の 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 は後段です
Back to Node List
Ase Tags — PixPipeline Node Reference