Category: Tilemap
Syntax:
tmDrawLayer:Void(map:Int, layer:Int)
Void
Draws one layer now. Draw a sprite between two calls and it goes between those layers. Only the tiles on screen cost anything. It takes b2dSetColor and b2dSetAlpha.
Takes map (The map's handle), layer (The layer's number, from tmAddLayer or tmGetLayer).
Returns nothing.
View detailed documentation online
tmDrawLayer(map, ground) b2dDrawImage(player, px - camX, py) tmDrawLayer(map, front)
BambooBasic © 2026 Michael Denathorn