Add "tile" as unit of measurement for objects

Hi there. I’d like being able to set an object dimensional property (width and height) based on tile units instead of pixels.


Actually a long time ago (until Tiled 0.9.1) the object position and size was in tiles. It changed with Tiled 0.10 because actually in the TMX format the units were pixels and it was strange to use tile dimensions for image objects. It was also somewhat problematic to always need a reference to the map when needing to know how big an object really was.

Of course we could still add an option to display and edit these values in tile units in the Properties view. I’ve opened the following issue about it:

Thank you @bjorn for considering this. It’s a pain in the ass to do math when you just want a nxn room.