Sub DrawTileMap(tilemap, x, y, w, h, offset_x, offset_y)
Draws a tile map
Note: Can only be drawn on a regular 2D canvas
Parameters:
-
tilemap - the tilemap to draw
-
x, y - Where to draw the map on the active canvas
-
w, h - The size of the tilemap viewport
-
offset_x, offset_y - The location in the tilemap to start drawing from