Category: Tilemap
Syntax:
tmLoad:Int(path:String)
Int
Loads a map exported from Tiled as JSON (.tmj), with its layers, tilesets and objects. On the web it loads in the background, so check tmLoaded before relying on it. The guide lists what is and isn't supported.
Takes path (The path of the .tmj file).
Returns: The map's handle.
View detailed documentation online
map = tmLoad("Media/level.tmj")
BambooBasic © 2026 Michael Denathorn