Game menu

deej011deej011 Member Posts: 159
edited December 2011 in Working with GS (Mac)
Hi,
How do I add a pop up menu without leaving the scene?

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    edited December 2011
    have the menu actor offscreen or on the screen where you would want it with its alpha set to 0 so its invisible. Then change the position on screen or change the alpha to 1 when you want it to appear. If your using the alpha method just make sure your touch rules on the menu are when touch is pressed AND self color alpha =1 so they dont trigger when there not supposed to.

    cheers
  • deej011deej011 Member Posts: 159
    And if I wanted to have multiple actors in the menu would I just do the same thing and have every actor in the menus Alpha set to 0?
  • calvin9403calvin9403 Member Posts: 3,186
    Yep

    Or visible to false
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    yes do the same thing to all the menu actors with alpha set to 0 and changing it to 1

    And no dont set visible to false because you cant change that in game and youll never be able to see the menu

    cheers
  • calvin9403calvin9403 Member Posts: 3,186
    @john

    how can I miss that, I have thought you can do that since I am here, I try it myself and you are right...

    Calvin
  • deej011deej011 Member Posts: 159
    thanks for the help. what if i wanted to make items in my menu that can be dragged into my on screen HUD?

    cheers
Sign In or Register to comment.