How do I check if a user has played the tutorial level?

Get help using Construct 2

Post » Fri Aug 01, 2014 3:58 pm

Hi all,

I'm trying to create a tutorial level for my game, and I would like the game to prompt the user to try it if they have not done it before. I can think of a pretty simple trick to detect that using a boolean variable that toggles once the user has played the tutorial level, but the challenge for me is that I want this game to work on a mobile device, and as such I would like the detection to persist even through the game closing. Would achieving something like this involve storing data on the device itself or something like that? I have no idea where to start with that really, but any assistance would be appreciated.

Thanks :)
Last edited by dmakinde on Mon Aug 04, 2014 2:25 pm, edited 1 time in total.
Posts: 29
Reputation: 733

Post » Fri Aug 01, 2014 4:01 pm

Use the boolean approach and store its value in a Webstorage object.

This one page tutorial teaches the basics of it: ... nformation

I like to eat, but I'm no cook. Why liking to play games would make you a game designer?
Posts: 658
Reputation: 3,843

Post » Mon Aug 04, 2014 2:24 pm

Thank you! I haven't gotten round to implementing the tutorial check yet, but with the webstorage object I managed to create a way to store your high score locally. I can't imagine the methodology to implement a tutorial would be too different, so I'm going to go ahead and mark this as answered. Thanks again :D
Posts: 29
Reputation: 733

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests