-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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 Z-Index for Autotile #19914
Add Z-Index for Autotile #19914
Conversation
b911978
to
f9000de
Compare
f9000de
to
daf9e3b
Compare
cc @MarianoGnu |
hum, this is not taken in account in the PR i just oppened about TileSet Editor rewrite :/ |
I don't mind in rebase my PR if needed, my changes are simple. |
daf9e3b
to
d3eafed
Compare
d3eafed
to
6da73b7
Compare
@guilhermefelipecgs Is it only for AutoTile? How does it interface with #16771, which added Z index support for TileSets but seems not to be properly exposed now in the new TileSet editor? CC @PJB3005 |
Yes.
Should works fine. |
6da73b7
to
69f6f78
Compare
Thanks! |
I've created a very simple demo showing how to use it if someone is interested. Demo: https://github.com/guilhermefelipecgs/z-index_demo |
Thanks for the z-index, most useful to avoid having separate tilemaps for foreground and background. I think something is missing though: I've tried to use it with an Atlas (the new tileset editor allows to create "Atlases" that are groups of tiles), and it seems that the z-index is ignored for those. |
@stormi I thought it was working, probably I missed this, I'll take a look at it. |
Thanks! It's also possible that I used it the wrong way :) |
Fixed, I forgot to add some lines. |
Demo: https://github.com/guilhermefelipecgs/z-index_demo