It would be useful to be able to create tilesets from a single texture Atlas.
Texture atlas is useful to put on the same image tilesets, sprites, picto etc.
Currently, AFAIK, a tileset is bound to an image with parameters: width, height, spacing, margin.
The following additional parameters would be welcome:
- offset x and y to locate the beginning of the tileset (replacing the margin parameter ?)
- total number of tiles in order to deduce the number of rows and columns in the tileset.
That way, I can create my tilesets in the Atlas, put sprite sheets in another area of the image without impacting the tilesets.
Would it be difficult to implement ?