How do I set z-order correctly? (Move to Object bug?)

Get help using Construct 2

Post » Sat Nov 08, 2014 6:39 pm

This may be a bug in the "Move to Object" action...please see the attached demo file. My goal is to set the z-order of the character so it appears either in front of or behind the wall as he moves around. Everything seems to work well except the top wall sprite when the character move in front of it. Construct 2 still renders him behind the wall despite the even I have set up.

Any workaround?

Thanks!

Corey
You do not have the required permissions to view the files attached to this post.
B
7
S
1
Posts: 13
Reputation: 363

Post » Sat Nov 08, 2014 8:38 pm

I think I may have fixed the problem via a hack....I changed the collision condition to overlapping and added a second condition which was a collision with the wall sprite. After that it works properly. Although I think it should have in the first version as well.
B
7
S
1
Posts: 13
Reputation: 363


Return to How do I....?

Who is online

Users browsing this forum: JackTYGA, maranpis and 28 guests