Having trouble with layers. Newbie here

This is my problem so far. Layers are not showing as intented. Background are three parts. The one in the middle has the same z coordinate (z=1). Also character is not being showed.

Thank you very much!

By default, Z-values range from -1.0 to +1.0. Any values outside of these such as the 2 you’ve got here, may not display. You can use values such as 0.1, 0.5 etc. instead.

2 Likes

thank you very much for responsing.
I change the values and there’s another problem.
There’s no problem with the output. The problem is with the preview in the editor. It is not showed the character as it should.

Sounds like something in code is changing the z-value of the player? Hard to tell without seeing the whole project.

I think you have the same z values for the character and one of the background’s sprite, which will cause the “z-order war”. You may want to try a bigger value for the z-value of the character. (Still smaller than 1 though)

I will try and tell you!
Thank you very much! :smiley: