Skip to content

Tiled TSJ exporter

Output

Packrat writes the JSON equivalent of the Tiled tileset export plus one image per atlas page:

text
atlas.tsj
atlas.png

The tileset uses image-collection tiles. Each tile records its atlas page, packed rectangle, and atlas page dimensions.

Integrate

Import the .tsj file in Tiled and keep the referenced image beside it. Use TSJ when your project pipeline prefers JSON; use TSX when it expects Tiled XML.

Packrat documentation