Overview
Exports a tile set as Tiled tile-set JSON (.tsj). Use it together with
tiled_map_export to complete a map package that opens in Tiled.
This is the legacy JSON-fragment route. Prefer the TiledV1 profile of
tile_bundle_export when you want images, map data, and tilesets validated and
written as one complete bundle.
Usage tips
- This node writes only JSON. Save the atlas from
rule_tile_packseparately as a tile-image PNG withbatch_exportor a similar node, then put that filename inimage_path. All three pieces must agree. tileset_sourceintiled_map_exportmust point to the filename of this JSON.- The atlas must match the tile set's grid, count, entry IDs, and fill order. Because Tiled GIDs assume row-major placement, this legacy route explicitly rejects column-major atlases.
Related nodes
tiled_map_export— the map counterpartrule_tile_pack/autotile_from_parts— supply the tile set and atlasbatch_export— exports the atlas-image PNG
What this node does
Converts a tile set built in PixPipeline into a form that is easy to pass to the Tiled map editor.
The output is a JSON string for a tile set. When a destination is specified, the
node can also save it as .tsj or .json.
This node does not save the tile-image PNG. It only records in JSON which image file Tiled should reference. Prepare the tile image through a separate image-export path.
Key settings
| ID | Name | Description |
|---|---|---|
path |
Save destination | Destination when saving JSON to a file. An empty value outputs only the string. |
image_path |
Image path | Filename of the tile image referenced by Tiled. |
save_mode |
Save mode | Whether to save the JSON file and overwrite an existing file. |
When to use it
- To take a tile set built in PixPipeline into Tiled
- To create a
.tsjor.jsontile-set file - To prepare the tile-set JSON referenced by map JSON from
TiledMapExport
Reference: Tiled JSON Map Format