How do I create a parent global layer but not affect children?

0 favourites
  • 2 posts
From the Asset Store
Globals 2.0
$3.99 USD
Globals 2.0 stores and group variables. You can also load and save data (variables) from/to JSON files.
  • Maybe I'm trying to do something impossible / the wrong way, tends to be the case with me lol.

    I'm trying to create a Palette Change effect on my entire game. The way I did it was I create a Parent Layer and enabled the Replace Color effect on it. And then I put my game's layers as sub layers under it. So it's Palette > UI and Palette > Game. Then I made the Palette layer a Global layer. And left the children/sub layers alone. Probably is, even if I DON'T enable Global on the sub layers, anything I put in them is treated like a Global layer and carried across all layouts anyway.

    I don't want to have to recreate the layer effect properties on every new layout I make, that's why I was trying to use a single Global Layer named Palette.

    How can I reuse a single layer to cascade its effects down to all the other layers under it, but not make the layers under it also be global?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Pretty sure I'm doing something gravely wrong.

    because if I create just a global Palette layer with NOTHING in it.

    And then go into a new layout and create the Global Palette layer, and put sub layers in it. And try to put anything in those sub layers, nothing shows up.

    The only way i can get anything to show up in those sub layers is again if I put them under the ORIGINAL global Palette layer and add items to that.

    I feel like I'm really missing something truly fundamental about C3.

    How can I just... Replicate layer effects across layouts? Is there a copy/duplicate function I'm missing? Do I really have to recreate the effects every single layout?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)