Category: Tilemap — Layers
Syntax:
tmAddLayer:Int(map:Int, name:String, tileset:Int)
The layer's number, or -1 for a bad map.
Adds an empty layer on top of the others, drawn with this tileset.
See the Tilemaps guide.
ground = tmAddLayer(map, "ground", tiles)
BambooBasic © 2026 Michael Denathorn