# Does Tiled allow different sized tiles?

**URL:** <https://discourse.mapeditor.org/t/does-tiled-allow-different-sized-tiles/2115>\
**Category:** Questions\
**Created:** [March 7, 2017, 9:56pm UTC](https://discourse.mapeditor.org/t/does-tiled-allow-different-sized-tiles/2115 "2017-03-07T21:56:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![derp\_derpstein](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@derp\_derpstein](https://discourse.mapeditor.org/u/derp_derpstein)\
**Post date:** [March 7, 2017, 9:56pm UTC](https://discourse.mapeditor.org/t/does-tiled-allow-different-sized-tiles/2115/1 "2017-03-07T21:56:57Z")

</div>

![](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex035/uploads/mapeditor/original/2X/a/a4f9e07006d9bbfc69b706d913d2e81bcc5cd2a8.jpg)

Does Tiled allow different sized tiles within the same .tmx? I would like to create high resolution tiles for the terrain, but smaller tiles for the objects. For example, in this concept-art screenshot, the sand would be a large isometric tile (to minimize the effect of repetition if I used small tiles). The house and trees would be smaller tiles. I need to be able to have different sized tiles within the same environment. Thank you :]

---

<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:** [March 7, 2017, 10:11pm UTC](https://discourse.mapeditor.org/t/does-tiled-allow-different-sized-tiles/2115/2 "2017-03-07T22:11:09Z")

</div>

Yes, you could choose “Collection of Images” when creating your tileset, then you can add individual images to it and they don’t need to be the same size.

---

<div class="post-metadata">

**Author:** ![derp\_derpstein](https://avatars.discourse-cdn.com/v4/letter/d/7993a0/32.png) [@derp\_derpstein](https://discourse.mapeditor.org/u/derp_derpstein)\
**Post date:** [March 8, 2017, 4:59pm UTC](https://discourse.mapeditor.org/t/does-tiled-allow-different-sized-tiles/2115/3 "2017-03-08T16:59:24Z")

</div>

When I select “Collection of Images”, it doesn’t prompt me to select an image. I tried importing “Based on Tileset Image” and then setting the dimensions to the size of my tile image. The problem I run into is I can’t place the tiles where I want, it keeps snapping it to a grid. This is my tile:  
 ![](https://cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex035/uploads/mapeditor/original/2X/3/3d1e6965f505004fbd6c9e8c03bf9ffdf9c30df9.png)

---

<div class="post-metadata">

**Author:** ![faulknermano](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/faulknermano/32/1037_2.png) [@faulknermano](https://discourse.mapeditor.org/u/faulknermano)\
**Post date:** [March 8, 2017, 7:59pm UTC](https://discourse.mapeditor.org/t/does-tiled-allow-different-sized-tiles/2115/4 "2017-03-08T19:59:22Z")

</div>

@derp_derpstein See this: [Creating an isometric map - images bigger than tile](http://discourse.mapeditor.org/t/creating-an-isometric-map-images-bigger-than-tile/1862/3)

When you select ‘Collection of images’ you don’t get prompted. Instead, an empty tileset is created for you. Use the + button on the tileset window to add images.

* * *

I’m working on a project with the same challenges and I found that the best to do this currently is to use Image Objects, not tiles. The main difference is that in Image Objects the anchor point is at the center-bottom, which makes registration to the grid predictable. Furthermore, you have the option of not snapping to the grid if you don’t want that.

Because the default anchor point registration of tiles is at the center of a virtual tile of a size that is the map’s cell size on the lower-left corner of the tile being painted, this makes using images larger than the map’s cell sizes not practical because there’s no correspondence between the tile’s intended anchor point. This applies to isometric (and hex) only of course.

Perhaps as a suggestion to @bjorn: although it may be a difficult proposition, perhaps it’s possible to modify a tile’s anchor point on a per tile basis? This is similar in concept to how we can define collision shapes per-tile. Then the placement of the tile will be according to this anchor point.

And/Or as an alternative (possibly easier?) or convenience feature, we can choose a predefined anchor point, eg upper-left, center-center, center-bottom, center-right, etc.

---

<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:** [March 8, 2017, 8:41pm UTC](https://discourse.mapeditor.org/t/does-tiled-allow-different-sized-tiles/2115/5 "2017-03-08T20:41:58Z")

</div>

> [@faulknermano](#):
>
> Perhaps as a suggestion to @bjorn: although it may be a difficult proposition, perhaps it’s possible to modify a tile’s anchor point on a per tile basis? This is similar in concept to how we can define collision shapes per-tile. Then the placement of the tile will be according to this anchor point.
> 
> And/Or as an alternative (possibly easier?) or convenience feature, we can choose a predefined anchor point, eg upper-left, center-center, center-bottom, center-right, etc.

Both are features I’d like to get around to eventually.

For per-tile origin point, I need to get around to merging and completing this pull request:

> <https://github.com/mapeditor/tiled/pull/1323>
>
> This merge adds the ability to add an XY drawing offset to individual tiles in a… tileset.
> So if somebody wants to align/offset how tiles are drawn against cell boundary they can do so.
> 
> you can edit+undo the offset in the propertybrowser. changing values forces a map redraw.
> It only does load+save to the xml format, since I didn't know if the change would be accepted in current form. It adds an "offsetx" and "offsety" attribute to the tile tag for the tileset. It also works for tsx file.
> 
> TODO BUG: when using the 1-cell stamp brush it leaves artifacts on screen
> when moving the mouse over the grey-area outside the map (seen in isometric maps).
> I could not understand the brush code in order to fix this.
> hopefully somebody can correct this small error.

There’s the following issue for making the tile anchoring configurable:

> <https://github.com/mapeditor/tiled/issues/179>
>
> At the moment tiles are anchored to the lower left.
> It should be possible to con…figure the anchoring per tilelayer to be anchored at lower, mid or upper side as well as left mid and right side.
> 
> (Moving issue from the old bugtracker https://sourceforge.net/apps/mantisbt/tiled/view.php?id=57)
> 
> The anchoring helps at creating different 3D projections with oversized tiles.
> (Issue #147 relates to drawing order of tiles, which also helps for different projections.)
