Skip to content

guitilesctrl: members

6 implemented, 0 reserved. Entries are sorted by name.

guitilesctrl.camerabounds: string

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

The visible part of the map as “x,y,w,h” in tiles; empty until a map is loaded.

view.camerabounds = "10,20,20,15";

Specification: client-rendering.md§6.8.

guitilesctrl.cameraposition: string

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

The top left of the visible part of the map in tiles, as “x,y”; empty until a map is loaded.

view.cameraposition = "10,20";

Specification: client-rendering.md§6.8.

guitilesctrl.camerasize: string

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

The size of the visible part of the map in tiles, as “w,h”; empty until a map is loaded.

view.camerasize = "20,15";

Specification: client-rendering.md§6.8.

guitilesctrl.loadtilemap(level: string, datablocks: string) -> object

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

Replaces the map with the one in a level file and a datablocks file, and returns it.

view.loadtilemap("a.lvl", "a.dat");

Specification: client-rendering.md§6.8.

guitilesctrl.loadtilemapxml(path: string) -> object

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

Replaces the map with the one in a map description and returns it.

view.loadtilemapxml("a.gxml");

Specification: client-rendering.md§6.8.

guitilesctrl.tilemap: object

Runs on: client only. Origin: compatibility. Since: M14. Playground: no. read-only.

The map the control draws; scripts may read it but not clear or change its files.

temp.layers = view.tilemap.layers;

Specification: client-rendering.md§6.8.

Engine version 0.1.0. Built 2026-11-18.