-
Notifications
You must be signed in to change notification settings - Fork 106
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
Add hexside_length for newer tmx. #313
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Just one small thing...
Please also update CHANGELOG.md and select the |
I didn't know which should been in the CHANGELOG.md, so I cannot fix this conflicts . |
Alright, I'll fix it |
Had to rebase your branch to merge into |
GH Actions froze because of the CI skip on the previous commit lol |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, though I've suggested some small tweaks. Please remember to squash when merging. :-)
src/map.rs
Outdated
@@ -56,6 +56,8 @@ pub struct Map { | |||
/// individual tiles may have different sizes. As such, there is no guarantee that this value | |||
/// will be the same as the one from the tilesets the map is using. | |||
pub tile_height: u32, | |||
/// The length of the side of a hexagonal tile in pixels (Used by tile layers on hexagonal maps). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// The length of the side of a hexagonal tile in pixels (Used by tile layers on hexagonal maps). | |
/// The length of the side of a hexagonal tile in pixels (used by tile layers on hexagonal maps). |
Whoops, I missed that a |
Some of tmx (new version?) file has this attarbute. And i found other tmx library also has this attribute. We need this!