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
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
タイルマップ
canvas
TileCanvas
native / tiled profile 用のタイルマップです。
タイルパレット
tile_palette
TilePalette
追加素材テーブルを持つパレット(任意)です。
フレーム一覧
frames
List<Image>
images_v1 profile 用のフレーム画像一覧です。

Output Ports

NameTypeDescription
概要
summary
Text
保存結果の短いまとめです。
レポート
report
Text
capability レポートと警告です。

Parameters

NameTypeDefaultRangeDescription / Options
出力フォルダ
path
DirectoryPath

バンドルの出力フォルダです。選択画面は設定済みの画像書き出し先から開きます。

保存モード
save_mode
Enum
Disabled

新規のみは既存の通常ファイルを内容を読まずに保護します。上書きは解析可能な対応形式だけを置換します。

  • 無効Disabled
  • 新規のみCreateIfMissing
  • 上書きOverwrite
プロファイル
profile
Enum
pixpipeline_native_v1

出力フォルダへ書くバンドル形式です。

  • 画像列images_v1
  • 汎用ランタイムpixpipeline_native_v1
  • Tiledtiled_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
Tile Bundle Export — PixPipeline Node Reference