Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orientation for Tiled Hexagon map off? #462

Closed
soft-circles opened this issue Aug 21, 2023 · 2 comments
Closed

Orientation for Tiled Hexagon map off? #462

soft-circles opened this issue Aug 21, 2023 · 2 comments
Labels
wontfix This will not be worked on

Comments

@soft-circles
Copy link

soft-circles commented Aug 21, 2023

I created a Hexagon map in Tiled with a staggered odd index:

Screenshot 2023-08-21 at 5 38 16 PM Screenshot 2023-08-21 at 5 38 22 PM

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.

Screenshot 2023-08-21 at 5 38 35 PM

It appears correctly if I define the HexCoordSystem as ColumnEven:

Screenshot 2023-08-21 at 6 01 37 PM
@rparrett
Copy link
Collaborator

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.

@StarArawn
Copy link
Owner

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.

@StarArawn StarArawn added the wontfix This will not be worked on label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants