ribbons's Forum Posts

  • 3 posts
  • I want to make saving and loading as painless as possible, I'm still trying to figure things out.

    How can I save multiple dictionaries and arrays inside one dictionary? And then load the one dictionary and push all the data back out to my separate dictionaries?

    Like say I have a Player dictionary that has things like Health, Hat, Shoes, etc in it. And a second dictionary for Game Settings. And an Array that keeps track of the placement and growth state of sprites/crops.

    How can I put my Player dictionary, Settings dictionary, and Crops array into a containing dictionary on Save and Load/push it all back where they should be on load?

  • 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?

  • 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?

  • 3 posts