TMXMapAsset
Class
Inherits
RBAsset
Description
Contains a map loaded from the TMX tilemap format. TMX Map assets can be loaded from various sources, including synchronous and asynchronous sources. Use TMXMapAsset.Load to load a TMX Map asset. This asset contains various information about the map, its layers, and objects. It does not however contain layer tile data, tile data is loaded with TMXMapAsset.LoadLayer, and TMXMapAsset.LoadLayerChunk. Because the tile data is loaded and stored separately the TMXMapAsset is relatively light-weight and can be kept in memory for future reference.
Variables
progress
(inherited)
|
Asynchronous loading progress, ranges from 0.0 to 1.0.
|
Properties
backgroundColor
|
Background color of the map
|
error
(inherited)
|
Loading error of the audio asset
|
infinite
|
Infinite map flag.
|
layers
|
All layers in the map, keyed by their layer name.
|
objectGroups
|
All object groups of the map, keyed by their names.
|
properties
|
Custom properties of the map
|
size
|
Size of the map in terms of tile count.
|
status
(inherited)
|
Loading status of the an asset
|
Methods
|