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 created a Hexagon map in Tiled with a staggered odd index:
And when I convert the layout with the bevy_ecs_tilemap in helpers/tiled.rs (code) the map appears incorrectly if I define the HexCoordSystem as ColumnOdd.
It appears correctly if I define the HexCoordSystem as ColumnEven:
The text was updated successfully, but these errors were encountered:
I think this behavior is somewhat "expected" because Bevy's y-axis is inverted relative to Tiled.
This was brought up previously in a stalled out PR that added support for StaggerAxis / StaggerIndex#405 (comment) to that example, and the consensus seemed to be that it's correct to use the opposite index for column stagger when building the tilemap.
This appears to be an asset loading error with tiled. Please remember that the tiled example is only meant to be a minimal example of how to use tiled with bevy_ecs_tilemap as such we'll not be expanding features to support things like this.
I created a Hexagon map in Tiled with a staggered odd index:
And when I convert the layout with the bevy_ecs_tilemap in
helpers/tiled.rs
(code) the map appears incorrectly if I define theHexCoordSystem
asColumnOdd
.It appears correctly if I define the
HexCoordSystem
asColumnEven
:The text was updated successfully, but these errors were encountered: