-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Major Grid doesn't work for staggered maps #3583
Comments
It's not supported because I wasn't sure how that should be rendered. Which lines would you expect to be "major" for staggered (or hexagonal, since that's the same renderer) maps? Probably it would be a staggered line rather than a straight diagonal one? |
I would expect the line to be staggered, that would make it easiest to gauge distances along a particular row/column. I'm curious why all the grid lines on staggered maps are currently rendered bolder than the plain grid lines on non-staggered maps xP |
Before major grid was implemented, the grid had alpha 128. When the major grid feature was implemented, it was changed to 96 for non-major lines and 192 for major lines. Rather than using the old opacity for staggered, it currently just renders all lines as major, which is why the grid got a bit brighter since a1a9e18. I think the way I'm currently drawing the hex/staggered grid may not really make it easy to render the major lines differently, but I will have a look. |
On Staggered maps, it looks like every grid line is rendered as if it were a Major Grid line, making the major grid impossible to see.
Compare Isometric vs Isometric (Staggered), no other settings changed:
Note how the grid lines in the staggered map are all as thick as the major grid lines in the non-staggered map.
Reproduce
This was reported via Discord on Tiled 1.9.2 on MacOS. I was able to reproduce it in Tiled 1.9.1 (Qt5) and 2023.02.17 (Qt6) on Win10 x64.
The text was updated successfully, but these errors were encountered: