TiledMap Component Reference

TiledMap is used for render a map with TMX format. Add TiledMap component for a node and set a TiledMapAsset for property tmxAsset, then the map will be shown.

tiledmap-component

Click the button Add Component in the Properties Panel, then select TiledMap in Add Renderer Component. The TiledMap component will be added to the node.

API reference: TiledMap API。

TiledMap Attribute

Attribute Details
tmxAsset Specify the asset of the TMX format map.

Details


Continue on to read about Workflow of script development。