-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
non y sorted Tilemap layer will show on top of y sorted layer #84086
Comments
Please test this on 4.1.2 and 4.2 beta3. Numerous changes have been made to TileMap rendering since 4.0.4. |
Thanks for the fast feedback @Calinou |
In my case, it looks like the layers without y sort turned on are y sorted as a whole, resulting in covering all objects with y sort turned on, even if they are not in this tilemap. |
Godot version
4.0.4 , 4.1.2, 4.2b3
System information
Windows 10
Issue description
Hello Guys
when trying to avoid enabling y sort on layer 0 / floor in the tilemap , I faced the below issue:
a tilemap that an artist I hired made for me , she put the origin point of the tilemap node at (0,0) but started drawing in all directions (0+-, 0+-). and I faced an issue turning on Y sort , specifically for tile that were drawn anything above the origin point (0-, 0-) , where sprites in a specific layer (which has y sort enabled) they will be drawn under the tilemap its self (or under Layer 0 / non y sorted layer) 😭 .
The only solution I was able to think of is to drag all the tiles to the region under (0+,0+) , but it was impossible to do due to the size of the tile map and because it has so many layers (i can only drag on layer at a time).
Because otherwise , when I enable y sort on layer 0 , I have to adjust the origin point for all other tile to be below origin point of floor tiles which is pain and will not allow me to add common gameplay scenario (ex : show player behind , in front of tree tiles).
I will attach two gifs to explain , please help😊
video_issue.mp4
Steps to reproduce
you can draw tiles on the tile map above the origin points , then enable y sort on the tilemap node and the specific layer your tiles on.
Minimal reproduction project
Tilemap_Issue.zip
The text was updated successfully, but these errors were encountered: