Pop Up For First Game Play

Hi

I want to add an automatic pop up when users play the game for the first time. When the user enters the game play scene, I want to show pop up on “How to play” with just normal text box with text inside or it can also be a native pop up but should only pop up the first time user plays the game.

How can I implement this? I have been trying for many days but I still can’t do it.

Please help :slight_smile:

Thanks

There are many different ways to do the popup:  native.newTextBox, native.showAlert, your own display group with graphics, display text, a storyboard scene if you’re using storyboard as an Overlay.  There are tons of ways to do this.

But the real question you probably have is how to make it only display once.  The way I do this is I have a settings file where I save things like musicOn, soundOn, etc.  When I start up, I read this file.  If it does not exist, I create it with my initial settings.  But this also tells me that if I don’t have this file, it’s my first time running the app and I can show my initial help screen in the manner of my choosing.

I done a tutorial a while back to show how to do a ‘rate me’ popup after the app launches 3 times. It should be explained well here and easily adaptable to show a popup/scene on first run

Link: http://echoecho.es/blog/corona

I will try it out now

Thanks :slight_smile:

There are many different ways to do the popup:  native.newTextBox, native.showAlert, your own display group with graphics, display text, a storyboard scene if you’re using storyboard as an Overlay.  There are tons of ways to do this.

But the real question you probably have is how to make it only display once.  The way I do this is I have a settings file where I save things like musicOn, soundOn, etc.  When I start up, I read this file.  If it does not exist, I create it with my initial settings.  But this also tells me that if I don’t have this file, it’s my first time running the app and I can show my initial help screen in the manner of my choosing.

I done a tutorial a while back to show how to do a ‘rate me’ popup after the app launches 3 times. It should be explained well here and easily adaptable to show a popup/scene on first run

Link: http://echoecho.es/blog/corona

I will try it out now

Thanks :slight_smile: