Same Overlay, different levels (layouts)

From the Asset Store
Unlock Levels, Worlds & skin plus add coins by watching ads
  • I'm having a go at creating a Breakout clone and it's going well but is it possible to have the same Overlay over different levels without duplicating it on each level? Here's the Overlay:

    [attachment=0:2wvmd7ei][/attachment:2wvmd7ei]

    This could change as the game progresses so I don't really want to try to change the Overlay's on all the levels trying to line them up etc, and any small change means I need to go back and change them all again.

    So is there a way to create one Overlay that can be used on many layouts?

    I did a search and came up with something called Inheritance Layers but that was for CC. Is there anything similar for C2?

  • Top left tool bar, give the overlay the property 'Global : Yes', that will stop it being destroyed between layouts and needs to be created only on the first layout.

  • Took me a while to find Global as the panel is made of different sprites but eventually found it and it works. Thanks plinkie, your help is very much appreciated.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This will give you problems if you wanted to have a main menu layout or some other layout without this stuff.

    I usually just create my common stuff with events.

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