Having trouble with layers. Newbie here

#1

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!

0 Likes

#2

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

#3

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.

0 Likes

#4

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

0 Likes

#5

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)

0 Likes

#6

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

0 Likes