Skip to content

API Interface TileStamp

github-actions[bot] edited this page Nov 29, 2026 · 3 revisions

Interface: TileStamp

Defined in: src/plugins/tilemaps/runtime/tileset.ts:80

ADR 0442: a named multi-cell stamp saved in the tileset.

Properties

layers

layers: TileStampLayer[];

Defined in: src/plugins/tilemaps/runtime/tileset.ts:83


name

name: string;

Defined in: src/plugins/tilemaps/runtime/tileset.ts:81


size

size: [number, number];

Defined in: src/plugins/tilemaps/runtime/tileset.ts:82


stagger?

stagger?: object;

Defined in: src/plugins/tilemaps/runtime/tileset.ts:90

ADR 0444: where the stamp was copied on a staggered or hexagonal map: the map's stagger axis, and whether the stamp's bottom-left row (axis y) or column (axis x) is a shifted one. With it the stamp keeps its shape wherever it is placed (its cells move by the grid's lattice); without it (stamps from square and isometric maps, and stamps saved before ADR 0444) its cells land cell for cell in offset coordinates.

axis

axis: "y" | "x";

shifted

shifted: boolean;

Clone this wiki locally