Skip to content

readTileGid

readTileGid(gid): TileGid

Defined in: tilemap/src/tiled/gid.ts:25

Split a raw Tiled GID into its tile id and orientation. Layer data in TilemapData.tileLayers[].data holds raw GIDs, so a game that cares which way a tile faces reads them through this.

number

TileGid