Opacity of multiple layers

Get help using Construct 2

Post » Sat Oct 10, 2015 4:33 pm

Hi, I need to change the opacity of multiple layers at once. I have objects on more than 1 layer (for various reasons) and I want to change the opacity on all of them. Ideally I'd want them all to change as if they were just one layer (as if merged together), so if I set the opacity to say 50%, I see just the background beneath and everything else at 50% (instead of all the layers beneath showing through each other at varying opacities). This image illustrates better what I'm after:

https://dl.dropboxusercontent.com/u/163 ... ity_c2.png

Can anyone think of a good way to achieve this in C2 (is it possible to somehow group the layers together for example), or is my best bet trying to shove everything on the same layer in order to make it work?
B
32
S
9
G
4
Posts: 131
Reputation: 4,346

Post » Mon Oct 12, 2015 12:20 am

You can use System > Set Layer Opacity and change it for one or more layers based on a certain condition
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283

Post » Wed Oct 14, 2015 7:54 pm

Thanks for the reply. I've come to conclusion it's probably best to just try put all the objects needing opacity change on the same layer to get the desired effect (without them showing through each other if overlapping)..
B
32
S
9
G
4
Posts: 131
Reputation: 4,346

Post » Wed Oct 14, 2015 8:58 pm

You could also put all the sprite objects in a Family and change the Opacity for the Family.
Image
B
45
S
17
G
2
Posts: 201
Reputation: 4,501


Return to How do I....?

Who is online

Users browsing this forum: David181, Shenkai the ssj, tatogame, Yahoo [Bot] and 17 guests