Help needed to create Layer based Menu

0 favourites
  • 4 posts
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter game
  • Hi, I'm a nood to C2.

    Done a lot of HTML in my time.

    With Notepad, not with those fancy Editors others use...

    I have a Simple problem with C3.

    I'm tryin to do menubutton, clicking of which displays a menu.

    Rather simple (should be)...

    I'm trying to do it like I would in HTML with divs, but using layers instead.

    I have a layout with the menu sprite (ShowMenu) on layer 2 and the menu options (sprites) on layer 3.

    My layer 3 has it's visibility set to Invisible and the buttons on it are set to Visible.

    What I'm trying to do is:

    Click on sprite to make layer 3 visible, thus showing the buttons on layer 3.

    The event I built:

    On left button Clicked on ShowMenu -> Set Layer 3 Visible.

    Nothing happens...

    The click works(I can replace the Set Layer... with something else and it will work).

    So the question is:

    Is there something wrong with Set Layer 3 Visible (broken?).

    Or am I doing something fundamentally wrong?

    Please, help a noob...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a Simple problem with C3.

    C2, sorry.

  • Well, the layer not turning Invisible problem still remains.

    I think I'm misunderstanding the concept of layers and what they can be used for.

    I thought that I could just put some menu items on a layer and turn them visible or invisible by altering the layer visibility.

    Seems that it doesn't work that way.

    I'll just have to do it with object visibility directly then.

    Thanks for the help anyway.

    The link I got had a lot of good other advice how to create a title screen. So it was a great link!

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