Go to Layout and Layers problem

0 favourites
  • 3 posts
  • Hi there, I have the next problem:

    I have a button that makes my game go to another layout (say from gameplay to a menu) and when that happens a layer from the gameplay layout goes to the other layout (on of the top layers).

    ¿Any clue?.

    Thanks!.

    EDIT: For more information, I have the next layers on the gameplay layout:

    4 Pause

    3 Hud

    2 Player & Front Grass

    1 Stadium, Objects & Back Grass

    0 Sky & Background Objects

    The menu i'm trying to go have these layers:

    2 Countrys

    1 Text & Buttons

    0 Background.

    Just some objects are being throwed up to the other layout, even from different layers.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you have events ( create or spawn object in layer number x ), if yes try to change the events and put the layer name not number and test it.

  • Do you have events ( create or spawn object in layer number x ), if yes try to change the events and put the layer name not number and test it.

    Totally n00b, I had those objects with "global" property on, my mistake, maybe this could help someone in the future, I hope so!.

    Thanks for answering A0Nasser

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