Is this a Bug or i'm just dumb

Describe the bug
I have a game where everytime my player go outside the game resolution width and height the zorder becomes negative and everytime i go further to the game resolution box the zorder of my player increasing from -60 to -100+ and so on

Share the complete GDevelop project showing the bug
It have to include the assets with the game.json

Welcome. I know new users are limited in what they can post but if you can post a screenshot of any relevant events or maybe a more detailed explanation of your process, it would really help.

Are you using the Ysort behavior? If so, it sets the z-order based on the Y position of the object. If the object’s Y was -50 then the Z order would be -50.

If you’re setting the Zorder through an action make sure it’s set the value to and not add to the value.

Oh i get it not i just need to make the tileset also have a ysort behaviour thank you

1 Like