Sprite Sheet various sizes

Currently Tiled has no way to work directly with such images, since there is no consistency in their organization. You’d have to either split it all up into individual tiles and then put them in an Image Collection tileset, or reorganize the original image such that all objects are aligned to for example a 32x32 or 16x16 grid.

As for the “best practice” to keep them together, I assume you mean for rendering performance. In that case, you’ll probably get best performance by using an Image Collection tileset in Tiled, but packing those images into a texture atlas. In your game, you’d use the image names to find their location on the atlas and then render them from there. You’ll get more efficient memory usage that way then when using the original image, and you could even leave unused images out of your texture atlas or make an optimized atlas for each of your maps so everything can be rendered in a single draw call.

See also:

1 Like