First time only pop-up message

SharkawyDevSharkawyDev Member Posts: 225
edited December 2011 in Working with GS (Mac)
hey all,

i have a new instructions in my new version game that i'll be submitting and i want a message to appear for the user only on the first time he run the game, im talking about a small note beside the instructions button.

any possibility ?

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Sure just have a boolean that checks if it has run or not. And if the boolean is false run your message and once your message runs check it to true. so that I never runs again. I do this with a GameCenter prompt at the Beginning of AlphaBalls for example.
  • SharkawyDevSharkawyDev Member Posts: 225
    thanks tenrdrmer,

    i tried but it pop-up and never disappear, maybe am doing something wrong !
  • SharkawyDevSharkawyDev Member Posts: 225
    plz also , can u check out the discussions i have another question there. thanks
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    your pop up HAS to be set to the condition of the boolean being false. Then when it runs you need to change boolean to true.
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    you need to save the attribute after you trigger it, and load it at the start of every game
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    thanks jon. Yes that is a very important part of the equation. :)
  • SharkawyDevSharkawyDev Member Posts: 225
    i was just going to ask if i have to save the attribute :) , i'll apply this now will.
Sign In or Register to comment.