tmSetStagger

Sets which rows or columns are moved along on a staggered or hexagonal map. tmLoad sets it for you. Takes map (The map's handle), byColumns (1 to move columns, 0 to move rows), evenOnes (1 to move the even ones, 0 to move the odd ones). Returns nothing.

Tilemap

Parameters & Returns

Parameters

map Int
byColumns Int
evenOnes Int

Returns

Void

Quick Summary

Sets which rows or columns are moved along on a staggered or hexagonal map. tmLoad sets it for you. Takes map (The map's handle), byColumns (1 to move columns, 0 to move rows), evenOnes (1 to move the even ones, 0 to move the odd ones). Returns nothing.

Technical Exegesis...

Sets which rows or columns are moved along on a staggered or hexagonal map. tmLoad sets it for you.

See the Tilemaps guide.

Returns nothing.

Example

Example.bam
tmSetStagger(map, 1, 0)