Module dtiled.data

Read and write data for Tiled maps. Currently only supports JSON format.

Functions

Name Description
cleanGid Clear the TiledFlag portion of a GID, leaving just the tile id.

Structs

Name Description
LayerData A layer of tiles within the map.
MapData Top-level Tiled structure - encapsulates all data in the map file.
ObjectData Represents an entity in an object layer.
TilesetData A TilesetData maps GIDs (Global IDentifiers) to tiles.

Enums

Name Description
TiledFlag Flags set by Tiled in the guid field. Used to indicate mirroring and rotation.

Aliases

Name Type Description
TiledGid uint Underlying type used to represent Tiles Global IDentifiers. Note that a GID of 0 is used to indicate the abscence of a tile.

Authors

rcorre

Copyright

Copyright © 2015, Ryan Roden-Corrent

License

MIT