You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought I have written a bug with rectangles always being off by it's width & height.
But found out that the coordinates are inconsistent.
How the issue can be reproduced
Here are the map properties
Here is the rectangle cord:
Here is the tile cord:
what happens
As you could see both tiles are touching the top of the map, but the rectangle has a cord of y:64, but the tile has a cord of y:0. The rectangle does not respect the tile render order of 'Left, Down'.
What behavior I expect instead
I expect both the rectangle and tile respect the render order and start at y:0 if the tile is at the top, or x:0 if the tile is at the most left
details
Ubuntu 64 bit 16.04.2
tiled version 2017.07.12 (ubuntu has an outdated version of 0.14 so i installed tiled-daily)
The text was updated successfully, but these errors were encountered:
issy123
changed the title
Inconsistent coordinates (tile & rectangle)
Inconsistent coordinates of rectangles
Aug 22, 2017
I expect both the rectangle and tile respect the render order and start at y:0 if the tile is at the top, or x:0 if the tile is at the most left
I'm sorry for the confusion caused! I would expect the same thing, but unfortunately it's not how it works in Tiled. And it will be tricky to change this without breaking backwards compatibility, since this inconsistency has existed ever since tile objects were introduced:
Rectangle and ellipse objects have top-left origin.
Tile objects have bottom-left origin (or, on isometric maps, bottom-center origin).
The solution is probably going to involve implementing configurable object anchor points (#560).
I thought I have written a bug with rectangles always being off by it's width & height.
But found out that the coordinates are inconsistent.
How the issue can be reproduced
Here are the map properties
Here is the rectangle cord:
Here is the tile cord:
what happens
As you could see both tiles are touching the top of the map, but the rectangle has a cord of y:64, but the tile has a cord of y:0. The rectangle does not respect the tile render order of 'Left, Down'.
What behavior I expect instead
I expect both the rectangle and tile respect the render order and start at y:0 if the tile is at the top, or x:0 if the tile is at the most left
details
Ubuntu 64 bit 16.04.2
tiled version 2017.07.12 (ubuntu has an outdated version of 0.14 so i installed tiled-daily)
The text was updated successfully, but these errors were encountered: