mapeditor/tiled

Objects in object layer are positioned differently depending on type (Tile object vs any other) #3392

ajuc posted onGitHub

Describe the bug See the image.

To Reproduce Steps to reproduce the behavior:

  1. Create object layer
  2. Add Rectangle object for example at position 0, 0 size 64, 64 and rotation 45 degree
  3. Add Tile object at the same position, size and rotation
  4. See that they aren't at the same position (see the image for example)

Expected behavior The Tile object should be positioned the same as any other object.

Example bug_in_tiled_positioning_of_objects


This difference is historical and for compatibility reasons can't just be fixed as a "bug". However, in Tiled 1.4 an "Object Alignment" setting was introduced on the Tileset, which can be used to specify top-left alignment for your tile objects, making them consistent with the plain rectangle objects.

posted by bjorn almost 3 years ago

Thanks.

posted by ajuc almost 3 years ago

Fund this Issue

$0.00
Funded

Pull requests