Studio Yotsuba
Back to Node List

Tile Bundle Export

tile_bundle_export

Writes a tile map bundle (image sequence / native runtime / Tiled) into a folder with a transactional writer.

Reviewed
Guide available

Input Ports

NameTypeDescription
Tile Canvas
canvas
TileCanvas
Canvas for native/tiled profiles.
Tile Palette
tile_palette
TilePalette
Optional palette providing extra runtime assets.
Frames
frames
List<Image>
Frame images for the images_v1 profile.

Output Ports

NameTypeDescription
Summary
summary
Text
Short save result summary.
Report
report
Text
Capability report and warnings.

Parameters

NameTypeDefaultRangeDescription / Options
Destination Folder
path
DirectoryPath
——

Bundle destination folder. The picker starts from the configured image export directory.

Save Mode
save_mode
Enum
Disabled—

CreateIfMissing protects any existing regular file without reading it. Overwrite replaces only a parseable, supported artifact.

  • DisabledDisabled
  • CreateIfMissingCreateIfMissing
  • OverwriteOverwrite
Profile
profile
Enum
pixpipeline_native_v1—

Bundle format written into the destination folder.

  • images_v1images_v1
  • pixpipeline_native_v1pixpipeline_native_v1
  • tiled_v1tiled_v1

Overview

Exports a tile map as a game-ready folder. Profiles: an image sequence (PNGs), a generic runtime bundle (atlas + tileset + map JSON), or Tiled (.tmj/.tsj + atlas). Writing is a staged → verified → atomically swapped transaction that never leaves a half-written folder.

Usage tips

  • pixpipeline_native_v1 / tiled_v1 take canvas (the output of tile_studio); images_v1 takes frames from tile_canvas_animation_render.
  • The Inspector highlights inputs used by the selected profile: frames for images_v1, or canvas plus optional tile_palette for native/Tiled output.
  • The authoritative spec for the native runtime format is docs/contracts/tile-runtime-v1/README.md (coordinates, animation phase, half-open rects, …). Custom engines can read bundles against that contract.
  • Tiled assumes uniform cell-size tiles. Tiles larger than a cell (overhang) make the export fail with an error — nothing is silently transformed.
  • The report output aggregates capability losses and warnings; review it whenever it is non-empty.
  • Any compile diagnostic with Error severity stops every profile before writing. Warning and Info diagnostics remain in report with severity, code, path, and cell.

Common pitfalls

  • Tiled: "raster does not match the cell size" — a tile's image differs from the cell size. Re-bake the asset or use the native profile.
  • images_v1 errors out — the frames input (List) is not connected.

Related nodes

  • tile_canvas_render / tile_canvas_animation_render — producing the inputs
  • tiled_map_export / tiled_tileset_export — existing single-JSON exports (kept for compat)
Back to Node List