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

Follow up fixes and improvements to new directions #157

Merged
merged 10 commits into from
Mar 25, 2024

Conversation

ManevilleF
Copy link
Owner

@ManevilleF ManevilleF commented Mar 25, 2024

Follow up to #154 and #156

I identified mutlitple issues in layout management were due to the fact that hexx neighbors and directions were following a counter clockwise order. This was causing some problems in angle management and visual errors on pointy layouts.

Therefore, breaking change: From now on the hexx neighbors and directions will follow the same order of the redblobgames docs, a clockwise order.

I also added a new example, hex_area to reproduce one of the issues found in #154 which also showcases how to use two different layouts in a same grid.

@ManevilleF ManevilleF added this to the 0.16.0 milestone Mar 25, 2024
@ManevilleF ManevilleF marked this pull request as ready for review March 25, 2024 14:51
@ManevilleF ManevilleF merged commit e51bc9b into main Mar 25, 2024
9 checks passed
@ManevilleF ManevilleF deleted the feat/directions_followup branch March 25, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant