I need to add a functionality to TiledAsWorldEditor tool. To do this i must get a region from TileMap and create a sprite from that.
TileMap:getTile(x, y) returns index of the single tile, however i need something like TileMap:getRegion(x, y, width, height). I know it is not implemented yet but do you know a way to get region from TileMap?
Thanks.
Comments
@atilim or any others, do you have any suggestions for this? It would be great if TileMap class has a "bitmap" or "full-texture" property, which gives us all of the texture that tilemap has. Then i will cut out a polygon area if possible.