Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Value type

TileLayer

One map layer with stable identity, source cells and independent painter order.

Fields

id

string
Stable layer identity (l_ground), used in field paths and cache keys.
default ""

sortingLayer

i32
Sorting layer shared with sprites.
default 0

order

i32
Draw order within the sorting layer.
default 0

parallax

vec2
Parallax factor per world axis.
default [1,1]

tint

vec4
Linear, 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 {}

Used by