Category: Tilemap — Drawing
Syntax:
tmDrawLayer:Void(map:Int, layer:Int)
Nothing.
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.
See the Tilemaps guide.
tmDrawLayer(map, ground) b2dDrawImage(player, px - camX, py) tmDrawLayer(map, front)
BambooBasic © 2026 Michael Denathorn