Adaptative z-order regarding other objects

Just started using Construct 2? Post your questions here

Post » Wed Jun 03, 2015 2:38 pm

Hello folks :).

I have an issue :
I'm trying to get my character to get in front or behind some scenery items when it moves, regarding if it is overlapping a building or a fence per sé.

I've tried some things (treating them individually, putting them in a family) but I can't figure out how to get him in front of everything if he's not overlapping an object (or if he's overlapping it from the front).

Would you have an idea how to make it work please ?

Capx : http:// s000.tinyupload.com/index.php? file_id=79894667521798620713 (Remove spaces)
Arrow keys to move, you can see the problem when moving in front of the fence on the "Test level" Layout
(Not a shady file I promise, just a capx.. Can't figure out how to attach it to my post, could do it before...)

Thank you for your time
Image Hats off to me too !
Steam user
B
12
S
2
G
1
Posts: 29
Reputation: 933

Post » Wed Jun 03, 2015 6:53 pm

I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Jun 03, 2015 10:44 pm

I love you so much right now. Thank you good sir !
Image Hats off to me too !
Steam user
B
12
S
2
G
1
Posts: 29
Reputation: 933


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest