Category: Tilemap — Autotile
Syntax:
tmSetTerrain:Void(tileset:Int, terrain:Int, baseTile:Int, layout:Int)
Nothing.
Makes a block of tiles in the tileset into a terrain, for tmSetTileAuto. The order the tiles have to be in is in the guide.
See the Tilemaps guide.
tmSetTerrain(tiles, 1, 1, 47)
BambooBasic © 2026 Michael Denathorn