adrien-bon / bevy_ecs_tiled

Helpers for working with 2D tilemaps created with the Tiled map editor
MIT License
35 stars 8 forks source link

feat: properly handle hexagonal maps #3

Closed adrien-bon closed 4 months ago

adrien-bon commented 4 months ago

Hi,

Wanted to try your crate to work with "flat-top" hex maps but it did not load properly. All that was needed was to initialize the tilemap_ecs backend with the proper TilemapType. Now it works properly ! :)

I'm not sure why I had to swap the Evenand Odd settings, but it seems I'm not the first one and others had to do the same: