My game in 1 scene - how do I make the buttons not be effective once in different scene

blue_elephantblue_elephant Member Posts: 505
edited July 2013 in Working with GS (Mac)
I am working on putting my game into one scene. Once I click a button and it "goes into the new scene" by making the things transparent. How do I make the buttons not do anything any more?
I couldn't find any discussions on this and couldnt figure it out, you'd think it would be simple.
Thanks!

Comments

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    I'd actually change their X and Y locations to be offscreen vs making them transparent. Then they won't even be there to be touched.
  • tylerglessnertylerglessner Member Posts: 246
    Do something like this:

    attribute.menu

    if attribute.menu = 1
    Set actor alpha image to 1 and whatever logic
    if attribute.menu =/= 1
    Set actor alpha image to 1

  • blue_elephantblue_elephant Member Posts: 505
    Thanks, i'll try it
Sign In or Register to comment.