Studio Yotsuba
Back to Node List

Tile Asset Builder

tile_asset_builder

Builds one TileAsset (static / animated / auto / rule / stamp brushes) from images, sprite sheets, and rule tile assets.

Reviewed
Guide available

Input Ports

NameTypeDescription
Image
image
Image
Sheet image sliced with the margin/spacing recipe.
SpriteSheet
sprite_sheet
SpriteSheet
Existing sheet whose grid initializes the slice recipe.
Images
images
List<Image>
Frame images used by animation recipes.
Rule Tile Asset
rule_tile_asset
RuleTileAsset
Existing auto/rule tiles imported as a rule brush payload.
Base TileAsset
base_asset
TileAsset
Existing TileAsset whose tiles/brushes are merged in first.

Output Ports

NameTypeDescription
TileAsset
tile_asset
TileAsset
Built tile asset with public brushes.
Atlas Preview
atlas_preview
Image
Lightweight preview of the static tiles.
Warnings
warnings
Text
Live/missing sources and mapping diagnostics.

Parameters

NameTypeDefaultRangeDescription / Options
Builder Data
builder_data
CustomData
——

Authoring recipe edited by the Tile Asset Builder editor.

Overview

The entry point for building tile assets. Bulk-slice a sheet image into static tiles, swap some slots to animations, define multi-cell stamps such as a 2×2 house, and merge existing auto/rule tile assets — all into one TileAsset. Slicing, selection, and naming are edited in the dedicated editor (Tile Asset Builder); the node itself only evaluates the recipe (builder_data).

Usage tips

  • For bulk registration connect either image (you specify margin/spacing yourself) or sprite_sheet (columns and cell size carry over). No per-cell wiring is needed.
  • For animations, setting a "target brush ID" swaps a static tile to an animation while keeping its public brush ID (and thus its palette slot). Frames come from the images input (all frames the same size) or from cells on the same sheet.
  • Save the finished asset with tile_asset_save as a self-contained .pxntile — it loads even after the original input nodes are deleted.
  • While warnings reports "live source" issues, resolve them before saving anything meant for distribution.

Common pitfalls

  • Animation frames with mixed sizes — pad/crop them to one size explicitly before feeding images; no implicit correction is applied.
  • Transparent cells get registered — set the slice recipe's transparent-cell policy to exclude_fully_transparent to skip fully transparent cells (row/column positions are preserved).
  • A connected auto-tile isn't imported — the recipe's "include rule asset" toggle (a checkbox in the editor) must be enabled.

Related nodes

  • tile_asset_save / tile_asset_load — saving to and loading from .pxntile
  • autotile_from_template / autotile_from_parts — producing auto-tile assets to import here
  • rule_set_editor — low-level editing of rule brushes
Back to Node List