Studio Yotsuba
Back to Node List

Tile Canvas Animation Render

tile_canvas_animation_render

Samples a tile canvas over time into frame images and one sprite sheet.

Reviewed
Guide available

Input Ports

NameTypeDescription
Tile Canvas
canvas
TileCanvas
Required
Canvas to resolve and render.
Tile Palette
tile_palette
TilePalette
Optional palette providing extra runtime assets.

Output Ports

NameTypeDescription
Frames
frames
List<Image>
Sampled frame images in time order.
SpriteSheet
spritesheet
SpriteSheet
Frames packed into one sheet.
Warnings
warnings
Text
Sampling caps and resolve diagnostics.

Parameters

NameTypeDefaultRangeDescription / Options
Duration (ms)
duration_ms
Int
10001–3600000

Sampled duration. Frames cover [0, duration).

FPS
fps
Int
101–120

Output frames per second (frame n is at n*1000/fps ms).

Max Frames
max_frames
Int
641–1024

Hard cap. Exceeding plans emit a warning instead of silent truncation.

Columns
columns
Int
00–64

Sheet columns. 0 packs all frames into one row.

Overview

Samples a tile map over time and produces a list of frame images plus a sprite sheet. A map containing animated tiles (water, etc.) becomes an animation asset as-is.

Usage tips

  • Sampling is specified as duration (ms) + FPS + max frames (no LCM-of-periods). Frame n is taken at n×1000/FPS ms, covering [0, duration) as a half-open interval.
  • If the planned frame count exceeds the max, frames are not silently dropped — warnings reports the overflow. Adjust duration/FPS or raise the cap.
  • Rule resolution runs once; each frame only does frame selection and compositing.
  • The spritesheet output plugs directly into existing sprite-sheet nodes (Aseprite export, playback, …).

Common pitfalls

  • Too few / too many frames — check the duration × FPS combination: 10 FPS × 1000 ms yields 10 frames.

Related nodes

  • tile_canvas_render — a still image at one time
  • sprite_sheet_playback / aseprite_export — playing back / exporting the sheet
Back to Node List