Animation file
A node of the Asset graph.
Takes: frames · Gives: file
Output: an animation of each sprite list wired in, with no sheet between: a GIF, an APNG, a WebP or an uncompressed video (Each list as), Scale times bigger, a video at Frames a second over Background. To starts every file's name: out/spin writes out/spin_walk_South.gif. Plays says what each file is: Each clip and side (the default), Every clip in turn (a file per side, every list in turn, each once: out/spin_reel_South.gif) or Turning (a file per clip, playing on while the sides go by: out/spin_walk_turn.gif), as --gif does; a GIF, APNG or WebP File node of a Sheet has the same Plays.
Settings
| Setting | What it does | Range | Default |
|---|---|---|---|
Calledname | What this output is called. | text | animation |
Save topath | Where the animations go. | text | out/animation |
Each list asformat | What each sprite list is written as. | GIF, APNG, WebP, Video | gif |
| Scale | Each pixel this many pixels wide. | 1 to 16 | 1 |
Frames a secondfps | How fast a video plays. | 1 to 100 | 30 |
| Background | What a video's sprite is drawn over. | colour | #000000 |
Playsorder | A file per clip and side; a file per side with every clip in turn, each once; or a file per clip, playing on while the sides go by. | Each clip and side, Every clip in turn, Turning | clips |
Every setting is also an input: wire a value into it to change it per frame or per file. On the command line: pxr graph set game.pixor --which asset --node animation-file --set KEY=VALUE.
What it wires to
Its frames input takes frames, which these give: Flip, Frame range, Hold, Image file, Layer, Merge, Sprites, Tag.
What it gives, a file, goes into: 7TV emote, APNG per clip, Aseprite file, Depth map, Dialogue portraits, Discord emoji and sticker, Emission map, File, Game Boy tiles, GIF per clip, Godot scene, Godot SpriteFrames, and 18 more.
In the app, drag a wire from one of its dots: every dot the wire fits is ringed.
How it fits with the rest: the Asset graph in the manual.
In the same group
Sprites · Image file · Merge · Layer · Frame range · Hold · Flip · Tag · Arrange · Place · Stack · Overlay · Sheet · File · JSON · Aseprite file · Godot SpriteFrames · Godot scene · Normal map · Depth map · Emission map · Line and flat layers · Palette · GIF per clip · APNG per clip · WebP per clip · Video per clip · Light kit · PICO-8 cart · Game Boy tiles · NES CHR · Mega Drive tiles · Twitch emotes · Discord emoji and sticker · 7TV emote · Wallpaper loop · Report · Shadow layer · Palette variants · Paper-doll layers · Parallax layers · Dialogue portraits · Text file · ZIP archive · Icons · Number value · On/Off · Angle · Words · Add values · Subtract values · Multiply values · Divide values · Smaller value · Larger value · Is above · Opposite · Both on · Either on · Pick a value