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 EDITMODE_PRIORITY for ATLAS_TILE #24560
Conversation
f9ab03e
to
a6c8652
Compare
How does this work with |
9e499ef
to
800174c
Compare
Unfortunately gdscript will not accept two methods with the same name and different signatures, then I changed for |
When editing ATLAS_TILE, now it's possible to enable priority to randomize subtiles.
800174c
to
bacf512
Compare
Maybe what I'm going to say it's stupid, but could "atlas tiles with priority" be implemented as autotiles with a 1x1 bitmask? Would that help to avoid having duplicated logic in different tile types? |
Autotile with 1x1 bitmask doesn't make sense. AFAIK, the only way to get the same result using autotile is using the new wildcard feature #27565 with 3x3 bitmask and setting the center bitmask to on and all corners to wildcard.
I don't understand why you think the logic is duplicated. Atlastile don't have bitmask, so, the code is a little different. |
I really need this. |
Thanks! |
Fix #24549.
Now it's possible to randomize ATLAS_TILE based on defined priority.