tmLoaded

Category: Tilemap — Maps

Syntax:

tmLoaded:Int(map:Int)


Parameters

Returns

1 when ready, 0 while waiting, -1 if it failed.



Summary

Says how loading a map is going. On the desktop tmLoad has finished by the time it returns; on the web it takes a while.

See the Tilemaps guide.



Example
If tmLoaded(map) = 1 Then tmDraw(map)

BambooBasic © 2026 Michael Denathorn