Category: Tilemap — Maps
Syntax:
tmUseBackground:Int(map:Int)
1 if it did, 0 if the map has no background colour or hasn't arrived.
Sets b2dCls's colour to the map's background colour from Tiled. On the web, call it after tmLoaded says the map has arrived.
See the Tilemaps guide.
tmUseBackground(map)
BambooBasic © 2026 Michael Denathorn