-
Notifications
You must be signed in to change notification settings - Fork 87
TiledSharp Data Hierarchy
anchpop edited this page Nov 10, 2016
·
15 revisions
This documentation is out of date, will update soon...
Listing of all TiledSharp fields inside a TmxMap object, along with a brief description.
- map.Version : TMX version
- map.Orientation : Map grid orientation
- map.Width : Tile count of map width
- map.Height : Tile count of map height
- map TileWidth : Pixel width of (smallest) tiles
- map.TileHeight : Pixel height of (smallest) tiles
-
map.Tilesets : List of tilesets
- map.Tilesets[ ].FirstGid : Global tile ID of first tile in set
- map.Tilesets[ ].Name : Tileset name
- map.Tilesets[ ].TileWidth : Pixel tile width
- map.Tilesets[ ].TileHeight : Pixel tile height
- map.Tilesets[ ].Spacing : Pixel spacing between image tiles
- map.Tilesets[ ].Margin : Pixel border thickness of image
-
map.Tilesets[ ].Image : Image object
- map.Tilesets[ ].Image.Source : Image reference path
- map.Tilesets[ ].Image.Trans : Image transparency color
- map.Tilesets[ ].Image.Width : Pixel image width
- map.Tilesets[ ].Image.Height : Pixel image height
-
map.Tilesets[ ].Tiles : Individual tile properties
- map.Tilesets[ ].Tiles[ ].ObjectGroups : Object layer for that tile (see below)
- map.Tilesets[ ].Properties : Tileset properties
-
map.Layers : List of map layers
- map.Layers[ ].Name : Layer name
- map.Layers[ ].Opacity : Layer alpha
- map.Layers[ ].Visible : Layer display
-
map.Layers[ ].Tiles : List of layer map tiles
- map.Layers[ ].Tiles[ ].Gid : global tile ID
- map.Layers[ ].Tiles[ ].X : horizontal map index
- map.Layers[ ].Tiles[ ].Y : vertical map index
- map.Layers[ ].Tiles[ ].HorizontalFlip : Horizontal tile flip
- map.Layers[ ].Tiles[ ].VerticalFlip : Vertical tile flip
- map.Layers[ ].Tiles[ ].DiagonalFlip : Diagonal flip
- map.Layers[ ].Properties : Layer properties
-
map.ObjectGroups : List of object layers
- map.ObjectGroups[ ].Name : ObjectGroup layer name
- map.ObjectGroups[ ].Color : ObjectGroup colors
- map.ObjectGroups[ ].Opacity : ObjectGroup alpha
- map.ObjectGroups[ ].Visible : ObjectGroup layer display
-
map.ObjectGroups[ ].Objects : List of ObjectGroup objects
- map.ObjectGroups[ ].Objects[ ].Name : Object name
- map.ObjectGroups[ ].Objects[ ].ObjectType : Tiled object type
- map.ObjectGroups[ ].Objects[ ].Type : User-defined object type
- map.ObjectGroups[ ].Objects[ ].X :
- map.ObjectGroups[ ].Objects[ ].Y :
- map.ObjectGroups[ ].Objects[ ].Width : Pixel object width
- map.ObjectGroups[ ].Objects[ ].Height : Pixel object height
- map.ObjectGroups[ ].Objects[ ].Points : List of poly(gon|line) points
- map.ObjectGroups[ ].Objects[ ].Properties : Object properties
- map.ObjectGroups[ ].Properties : ObjectGroup properties
- map.Properties : Map properties