How do I create a universal Z order list?

Get help using Construct 2

Post » Mon Dec 01, 2014 10:20 am

Is there a way to adjust the Z order of a layer across all layouts? There are some things I always want to be visible over the terrain, and some things always hidden when colliding with terrain. Is there a "master Z layer" list that will let do this easily without manually altering every layout?
B
5
Posts: 36
Reputation: 397

Post » Mon Dec 01, 2014 11:51 am

Well I don't think a master Z layer exists, it seems to me that your problem can be fixed by using a move to layer

Assuming the number of layers is the same for all layouts.
Image

If you want to have a different number of layers on some layouts, you should have a global variable with the number of layers and set it at the start of a layout.

If this doesn't solve your problem, maybe you should reconsider your layers.
B
18
S
6
G
3
Posts: 30
Reputation: 4,198


Return to How do I....?

Who is online

Users browsing this forum: Blendi1223, Jackriduk, NN81, Username05 and 26 guests