Category: Tilemap — Drawing
Syntax:
tmDrawLayerRow:Void(map:Int, layer:Int, row:Int)
Nothing.
Draws one row of a layer, so sprites can go in among the tiles. Rows run from the back to the front on every shape of map. A layer that isn't made of tiles (objects or an image) draws with row 0.
See the Tilemaps guide.
For row:Int = 0 To tmRowCount(map) - 1
tmDrawLayerRow(map, ground, row)
If tmRowAt(map, footX, footY) = row Then b2dDrawImage(player, sx, sy)
Next
BambooBasic © 2026 Michael Denathorn