First time the app is open?

kelseabarkerkelseabarker Member, PRO Posts: 15

Hi guys! I just have a quick question. Say I have levels that have a new enemy when you unlock it. I would need to show how to defeat the enemy so I would have a screen pop up that says, "double tap" or "drag" or something like that. Here's the thing though, I don't want that screen to pop up every time they retry the level cause that would be annoying. :# How do I only make it appear once forever, until they the delete the app and re-download it? Thanks! :)

Best Answer

  • Braydon_SFXBraydon_SFX Posts: 9,273
    Accepted Answer

    Create a Boolean attribute and set it to true.

    Somewhere in your logic, create a rule that says:

    If attribute game.FirstPlay is true,
    Pop up message

    Inside your pop up, when the use is done reading, set game.FirstPlay to false and save the attribute.

    Make sure to load the attribute at the start of your game.

Answers

  • kelseabarkerkelseabarker Member, PRO Posts: 15

    @Braydon_SFX awesome thank you! Is there any way to test that it will work? Or is that something you have to do outside of the game salad previewer?

Sign In or Register to comment.