Layout or Layer effects

Discussion and feedback on Construct 2

Post » Sat Feb 16, 2013 1:25 pm

Is it possible to exclude a single layer from a layout effect? If not, is it as efficient to give each layer an effect except the one? I'm using quite a few layers so it'd be much easier to be able to exclude certain ones..Perhaps it could be an option in future builds?
Image
B
225
S
27
G
13
Posts: 1,774
Reputation: 18,024

Post » Sat Feb 16, 2013 3:22 pm

It's not easily possible to exclude a single layer from a layout effect. The way the rendering pipeline works, all layers have already been rendered by the time the layout effect renders, so it can't go back and undo an effect.

Currently the only way is to have the effect on each layer, but this will be N times slower than a layout effect (where N is the number of layers you add the effect to). This could be fixed if we supported folder-organised layers and you could apply a single effect to a group of layers... but that would be an architectural change, and I'm not sure we can do that in the near future.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,610


Return to Construct 2 General

Who is online

Users browsing this forum: j0schi and 8 guests