Duplicate objects to a new layout

This forum is currently in read-only mode.
From the Asset Store
Create your game with this complete pack of images and animations!
  • Hi all, I don't understand how to have my objects that are global into all layouts.

    When I create a new layout, all my folders are duplicated in, but they are all empty. Then I try to take my objects from the Project window (on the right) to drag them in the new layout, it doesn't work.

    So I copy all of them from the first layout, paste them in the new, then move them around cause they are still in position...

    Is there amore efficient way I overlooked?

  • Unfortunately, as far as I know, there is no actual function to use graphics in the layout editor from other layouts, despite the tick box to "show non layout objects".

    You will need to copy and paste one of each thing you want onto the layout. You can copy multiple objects at once, and it might be a good idea to look into grouping like graphics into single sprites, using the 'start frame' feature, to organise things a bit better.

  • it might be a good idea to look into grouping like graphics into single sprites, using the 'start frame' feature, to organise things a bit better.

    Sorry, but I don't understand this part.

  • Hi all, I don't understand how to have my objects that are global into all layouts.

    When I create a new layout, all my folders are duplicated in, but they are all empty. Then I try to take my objects from the Project window (on the right) to drag them in the new layout, it doesn't work.

    So I copy all of them from the first layout, paste them in the new, then move them around cause they are still in position...

    Is there amore efficient way I overlooked?

    What about right click on 'layout' in the projects tab, then choose 'clone layout' (creating layout 2 with same objects.)

    Sorry if i,m talking about something different?

    <img src="smileys/smiley5.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I was actually expecting the global objects to be already in the new layout, like the folders.

    Cloning the layout is interesting, thanks. I could prepare an empty layout with the objets I intend to keep in all levels and clone it in the beginning, or something like that.

    Edit: I just realised that everything was better without objects being global... I guess I will just need variables to be so.

    Anyway, thanks guys, it's nice to have people helping along when things get tricky!

  • This is what I was referring to Sved.

    youtube.com/watch

  • You can use the Inheritance layer for some of it. I usually use it for the GUI, and player sprites.

    Just set the Inheritance layer option in the Layer properties, to a unique name of a layer (can be in a different layout)

    I'm not sure if this helps in your case.

  • Steven, this is great, it totally removes the need for folders... I didn't think of that at all.

    Sandcrawler, I think it will, if I understand well, this layer will stay on all layouts, I'll try out later today.

    Thanks a lot!

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