How can I access to sprites from another layout?

0 favourites
  • 4 posts
From the Asset Store
Build your map with these isometric objects and terrains
  • Hello there.

    I would like if iis posible and how is posible to access to sprites from another diferent layout?

    for example I have an sprite1 on Layout1, this sprite1 is global and belongs to a family1 , then I try to change its size property for example , from anoter layout=> layout2 using the function foreach(family1), but do not apper any sprite from thet family in layout 2, This is possible ? or How can I that?

    thanks in advance!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • A global object should automatically be created in the active layout.

    Perhaps, Instead of trying to change it size ... try setting its location to somewhere within your viewport first

  • mmm so the active layout just only can access to the sprites which be within it..

    I am afraid I would need to use some global variables or an array, would be great can to access to global sprites from a distinct layout.

  • I use global sprites for settings.

    I have some invisible 10x10 squares, set to global, in the main menu, which variables I can reference in any layout.

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