strange layers z order issue with a sprite.

For questions about using Classic.

Post » Sat Oct 03, 2009 9:43 pm

Hi everyone.

Is there some way that a sprite on a lower layer can actually be displayed OVER a sprite on a higher layer? That's exactly what seems to be happening in my project. An enemy sprite on layer 13 is displaying UNDER a prop that's on layer 11! I even made a mouse event to display what layer those two sprites are on at run time while the mouse is ove that object to confirm the layers.

Is this a feature in construct I somehow accidentally am using or is this a bug in construct?

thanks
B
2
S
2
G
4
Posts: 124
Reputation: 1,698

Post » Sat Oct 03, 2009 10:23 pm

Probably a feature. You can have a sprite's z set to front or back regardless of the layer its on.
Plus there's a chance that objects created are sent to the front.
Image Image
B
161
S
48
G
91
Posts: 7,358
Reputation: 67,271

Post » Sun Oct 04, 2009 2:13 pm

The only way this can happen is if you are using Z elevation, and you haven't enabled 3D layering for both layers in layer properties.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests