Value type
TileLayer
One map layer with stable identity, source cells and independent painter order.
Fields
id
stringStable layer identity (
l_ground), used in field paths and cache keys.default ""
sortingLayer
i32Sorting layer shared with sprites.
default 0
order
i32Draw order within the sorting layer.
default 0
parallax
vec2Parallax factor per world axis.
default [1,1]
tint
vec4Linear, straight-alpha tint applied to every tile, e.g. to darken backgrounds.
default [1,1,1,1]
cells
map<u32>Signed
x,y keys to positive tile numbers; missing cells are empty.default {}