# Sprite Sheet various sizes

**URL:** <https://discourse.mapeditor.org/t/sprite-sheet-various-sizes/1564>\
**Category:** Questions\
**Created:** [August 11, 2016, 2:09pm UTC](https://discourse.mapeditor.org/t/sprite-sheet-various-sizes/1564 "2016-08-11T14:09:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bjorn](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/bjorn/32/1599_2.png) [@bjorn](https://discourse.mapeditor.org/u/bjorn)\
**Post date:** [August 19, 2016, 1:02pm UTC](https://discourse.mapeditor.org/t/sprite-sheet-various-sizes/1564/2 "2016-08-19T13:02:11Z")

</div>

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:

> [@Best way to use Tiled with texture packer/custom game engine?](http://discourse.mapeditor.org/t/best-way-to-use-tiled-with-texture-packer-custom-game-engine/361):
>
> Hello, I am looking to use Tiled to create the simplest tile based game where assets come from a sprite sheet created using TexturePacker ([https://www.codeandweb.com/texturepacker](https://www.codeandweb.com/texturepacker)). The game is made up of 64x64 tiles, with some objects (coins) to collect smaller in size and other taking up more than one tile (Tree). What I would like to do, is to use Tiled to position the various images on screen and read its tile position ( tilesX, tilesY) and object properties. I can use the source images …

---

_[View the full topic](https://discourse.mapeditor.org/t/sprite-sheet-various-sizes/1564)._
