Studio Yotsuba
Back to Node List

Tile Asset Save

tile_asset_save

Saves a TileAsset as a self-contained .pxntile file.

Reviewed
Guide available

Input Ports

NameTypeDescription
Tile Asset
asset
TileAsset
Required
TileAsset to save as a self-contained .pxntile container; live sources must be materializable.

Output Ports

NameTypeDescription
Summary
summary
Text
Short save result summary.

Parameters

NameTypeDefaultRangeDescription / Options
Path
path
FilePath
——

Destination .pxntile file.

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

Overview

Pins a TileAsset as a self-contained .pxntile including its image sources. Use it when the asset must reload in another project without its original nodes.

Usage tips

  • Connect the asset-producing node to asset and set save_mode to CreateIfMissing or Overwrite only when you actually want to save.
  • Choose CreateIfMissing to protect existing files; use Overwrite only for an explicit replace.
  • After saving, load it back with tile_asset_load to confirm the same asset hash and images round-trip.

Common pitfalls

  • Nothing is written while save_mode is Disabled — the default that prevents accidental re-saves during normal evaluation.
  • An asset with missing runtime source images cannot be made self-contained; reconnect the upstream images before saving.

Related nodes

  • tile_asset_load
  • tile_palette_save
  • tile_canvas_save
Back to Node List