tmSetZoom

Category: Tilemap

Syntax:

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


Parameters

Returns

Void



Summary

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

Takes map (The map's handle), zoom (1.0 is normal size).

Returns nothing.

View detailed documentation online



Example
tmSetZoom(map, 2.0)

BambooBasic © 2026 Michael Denathorn