How do I place characters in the correct Z order?

Get help using Construct 2

Post » Mon Jul 11, 2016 7:11 pm

Some of the characters needs to be positioned in front of others while in-game. If one actor steps in front of the other for example. Top-down view game. Slightly angled.

Any help much apprechiated!
Last edited by ErikSwahn on Mon Aug 01, 2016 4:31 pm, edited 1 time in total.
B
4
Posts: 12
Reputation: 224

Post » Mon Jul 11, 2016 9:13 pm

You can use Object (the character you want to move) --> add action --> Z Order. You'll have 4 choices.
Cheers
B
43
S
12
G
14
Posts: 488
Reputation: 10,570

Post » Tue Jul 12, 2016 10:26 am

Yes, those options have been overlooked. Are these the only alternatives? Objects will have to be placed in front of others only when their image point is lower on the Y axis. So in logic, the more Y the more Z. How can I implement this?

Thanks for answering.
B
4
Posts: 12
Reputation: 224

Post » Tue Jul 12, 2016 12:21 pm

In the Official Z order method (without a plugin).

Loop trough all objects, set an instance variable to there y.
Use that instance variable in the System > Z order.

With plugin.

Try this. http://c2rexplugins.weebly.com/rex_zsorter.html
It works flawless.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Tue Jul 12, 2016 1:17 pm

Thank you.
B
4
Posts: 12
Reputation: 224


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Unconnected, Waltuo and 18 guests