Tilesets
Tilesets¶
Tilesets are the collections of tile images that maps draw from to build their terrain and structures. Each tileset bundles together a fixed set of slots — animated tiles, terraforming tiles that auto-shape against neighbors, structural tiles for walls and buildings, and flat tiles for everything else — along with the metadata that controls how each slot renders, animates, and interacts with the world.
A map references a tileset to define what its tiles look like; changing the tileset on a map swaps every tile through the same indices, which is what allows a single map layout to be re-skinned across multiple tilesets without re-painting it.
Note: A tileset has three Animated slots, three Terraforming slots, and three Structure slots, plus an unlimited number of Flat slots. Animated slots cycle through frames at runtime, Terraforming slots auto-shape against their neighbors to produce smooth edges between terrain types, Structure slots build vertical pieces like walls and buildings, and Flat slots are simple non-animated images for everything else.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Flat Slots | All of the flat tileset slots. | TilesetDetails |
| Name | The name of the tileset. | String |
Tileset Details¶
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Image | The image associated with the tileset slot. | Image |
| Is Terraforming | Whether the slot should terraform. | Toggle |
| Unit Height | The scalar to apply to a tile with height. | Number |
| Use Diagonal Edges When Terraforming | Whether to use diagonal edges on corners. | Toggle |