Talos docs

TilemapTileset

Since 0.6Changed in next
Plain text

Fields

FieldTypeRequiredDefaultAllowed valuesDescription
imagestringyesA key of scene.assets whose kind is "texture": the tile sheet (a PNG with alpha).
normalImagestringnoWith the tilemap's lit, a key of scene.assets whose kind is "texture": a tangent-space normal map laid out exactly as image, the same size. Absent: tiles are flat, facing +Z.
tileSizeunknown[]yes[width, height] of one tile in pixels, whole numbers above zero.
gridunknown[]yes[columns, rows] of tiles on the sheet, whole numbers above zero. Tile n is column n % columns of row floor(n / columns), counting from 0 at the top-left, as a sprite's grid cell counts; the legend's indices are below columns × rows (tilemap-tile-unknown).
marginnumbernoPixels of border round the sheet before the first tile, a whole number, default 0.
spacingnumbernoPixels between neighbouring tiles on the sheet, a whole number, default 0.