What is a GuiTilesCtrl and how do I use it? Seems to come with a few interesting functions:
GuiTilesCtrl.loadtilemap(str, str) - returns object
GuiTilesCtrl.loadtilemapxml(str) - returns object
PHP Code:
- TTileMap (TGraalVar):
- clear() - clears the tile map, only works for script-created tile maps
- destroy() - deletes the tile map, only works for script-created tile maps
- findanimation(str) - returns object
- findimagemap(str) - returns object
- loadtilemap(str, str) - returns object - use loadTileMapXML instead
- loadtilemapxml(str) - returns object - loads a level in the new format (gxml); this is for data processing only, if you want to display it then use GuiTilesCtrl or create a gmap with the line TILEMAP yourmap.gxml
- saveasimage(str, int, bool) - generates a screenshot of the whole map, parameters are the file name, number of pixels per unit and if it should clip to visible objects