Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

TileCellOptions

A cell that names its tile set or turns its tile: Tiled’s three flips and Godot’s flip_h, flip_v and transpose. Tiled applies the diagonal flip first, then x, then y.

Property Type Default value Description
flipDiagonal? boolean undefined Swaps the tile’s x and y, which a flip on x or y then turns into a quarter turn, as Tiled’s rotate buttons write it.
flipX? boolean undefined -
flipY? boolean undefined -
set? number 0 Which of the layer’s tile sets it is from, by its place in the layer’s tileSet list.
tile number undefined The tile’s index in its tile set, -1 for none.