tmSetOrientation

Category: Tilemap

Syntax:

tmSetOrientation:Void(map:Int, orientation:Int)


Parameters

Returns

Void



Summary

Sets the shape of a map you made with tmCreate. tmLoad sets it for you. On staggered and hexagonal maps, the odd rows are the ones moved along unless you use tmSetStagger.

Takes map (The map's handle), orientation (0 square, 1 isometric, 2 staggered, 3 hexagonal).

Returns nothing.

View detailed documentation online



Example
tmSetOrientation(map, 1)

BambooBasic © 2026 Michael Denathorn