How do you show instruction screen, only first time opened?

hzappshzapps Member, PRO Posts: 173

aloha everyone.

I would like to have an instructional / story image screen when the player opens the game for the first time, or when they open if they have completely swiped the paused game off of an iOS device. So if they just exit the game, pausing this app, not completely closing out the paused operation in the background....I don't want them to have to watch the instruction screen again.

How?

I believe I could have a full screen image that acts like an instruction page that once clicked, changes an Boolean attribute thus not showing it again until closing the game thus resetting those Boolean values.

Does anyone have an idea to skip the instructional screen if it is actually it's own scene and not just that imag?

Thank you

Hang loose
Mike

Comments

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    edited July 2015

    I believe I could have a full screen image that acts like an instruction page that once clicked, changes an Boolean attribute thus not showing it again until closing the game thus resetting those Boolean values.

    This gets you half way there.

    Use the Boolean and set it to true once the screen has been seen. Then Save that Boolean using the Save Attribute Behavior.

    Also each time the game is loaded, Load the Attribute and check its state, if it's false show the screen (this would only occur the first time).

  • UtopianGamesUtopianGames Member Posts: 5,692
    edited July 2015

    You could also have a simple "how to play" button that takes you to the image (best to simply move the camera position and have the instructions on the same scene so no load times) then they can read the instructions anytime without you doing the workaround.

Sign In or Register to comment.