Telling the game an object is below or above another?

Get help using Construct 2

Post » Fri Jun 06, 2014 7:54 pm

Hey guys!

I'm hoping someone can tell me how to do this. It seems pretty simple but I can't get it to work right.

Is there a way to tell the game that essentially if: Object A is above Object B to then move object A to a layer above object B?

Is there a way to just compare the two values of each of these, and if it's above that object by a certain amount, it can then shift it's layer?

Any help is greatly appreciated!
Posts: 78
Reputation: 606

Post » Sat Jun 07, 2014 2:58 am

Try using this event :

Sprite - Pick top/bottom ---- Sprite - Move to top/bottom.
Posts: 1,013
Reputation: 9,155

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests