bevy_ecs_tilemap 0.7 anchored tiles to the bottom-left, while 0.8 anchors tiles to the center.
For example, the (0,0) tile used to render the bottom-left pixel of the tile at the origin, but it now renders the center of the tile at the origin.
Since bevy_ecs_ldtk adds transforms to tiles, the transform logic needed to be adjusted after updating to bevy_ecs_tilemap 0.8. This PR performs that update, which introduces a breaking change to some utility functions
To do
[x] adjust translation of tilemaps to support layers of differing grid size
[x] fix background color/image translation
[x] redesign and add new translation utility functions to address layer adjustment if necessary
bevy_ecs_tilemap
0.7 anchored tiles to the bottom-left, while 0.8 anchors tiles to the center.For example, the (0,0) tile used to render the bottom-left pixel of the tile at the origin, but it now renders the center of the tile at the origin.
Since
bevy_ecs_ldtk
adds transforms to tiles, the transform logic needed to be adjusted after updating tobevy_ecs_tilemap
0.8. This PR performs that update, which introduces a breaking change to some utility functionsTo do