Game Storyline Display

creativeappscreativeapps Member Posts: 1,770
edited November -1 in Working with GS (Mac)
I want to display game storyline when user start my app first time afte installed. After that I do not want to display it again and again. What to do for that? Please let me know

Comments

  • JeffreyShimaneJeffreyShimane Member Posts: 372
    Create an attribute (Storyline). Have its default value at 0. If Storyline = 0, display game storyline. After the game storyline has played (or was skipped, if that's an option), change Storyline to 1. Then use Save Attribute/Load Attribute just like you were saving/loading a high score to save the value of the Storyline attribute and load it up whenever the app is launched. That way, the game storyline will just play the first time the app is started (when its value is 0) but not any subsequent times (when its value is 1).

    If you do this, you might want to have an option to display the game storyline from the main menu in case the player wants to see it again.

    - Jeff
  • creativeappscreativeapps Member Posts: 1,770
    wow thanks jeff yes I have options on main menu with storyline buttons.
Sign In or Register to comment.