0 Favourites

Go to Layout and Layers problem

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

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

  • Construct 3

    Buy Construct 3

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

    Buy 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.

    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)
Similar Topics Posts Views Last Post
Unread hot topic
132 29,607
chadorireborn's avatar
chadorireborn
Unread hot topic
0 Favourites
Go Go Monkey Squad on INDIEGOGO
35 2,917
Rory's avatar
Rory
Unread hot topic
52 8,563
BluePhaze's avatar
BluePhaze