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
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.
Comments
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