tmSetZoom

Category: Tilemap — Drawing

Syntax:

tmSetZoom:Void(map:Int, zoom:Double)


Parameters

Returns

Nothing.



Summary

Sets how big the map draws. b2dSetScale doesn't affect maps, so this is the way to scale one.

See the Tilemaps guide.



Example
tmSetZoom(map, 2.0)

BambooBasic © 2026 Michael Denathorn