View Single Post
  #1  
Old 03-22-2012, 07:32 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
GuiTilesCtrl and related functions

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 maponly works for script-created tile maps
-    destroy() - deletes the tile maponly works for script-created tile maps
-    findanimation(str) - returns object
-    findimagemap(str) - returns object
-    loadtilemap(strstr) - 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(strintbool) - generates a screenshot of the whole mapparameters are the file namenumber of pixels per unit and if it should clip to visible objects 
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote