Make a layout only happen one time

Get help using Construct 2

Post » Mon Mar 16, 2015 8:53 pm

This is probably very easy but I don't know how to do it. I want to make a layout that only comes up if it is your first time playing on an app. Once you are done with the welcome layout, it will go to the title screen. If it is not your first time, it will just go to title screen. How do you code this? Thank you
B
6
Posts: 20
Reputation: 326

Post » Mon Mar 16, 2015 9:02 pm

Webstorage - save some stuff after playing first time. Then compare if this is true - ignore welcome layout, if it's false then show welcome layout.
ImageImageImageImage
B
156
S
64
G
41
Posts: 2,588
Reputation: 34,601

Post » Mon Mar 16, 2015 9:09 pm

Does webstorage work for mobile devices? The game isn't on the web it is in an app on the phone/tablet. Thank you for the reply.
B
6
Posts: 20
Reputation: 326

Post » Mon Mar 16, 2015 10:27 pm

@King Limberg yes it works. i use it it all my games
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Mon Mar 16, 2015 10:34 pm

Yes it does!
And it's really easy to use.
ImageImageImageImage
B
156
S
64
G
41
Posts: 2,588
Reputation: 34,601


Return to How do I....?

Who is online

Users browsing this forum: Ajbael, TheSynan and 11 guests