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

0 favourites
  • 3 posts
From the Asset Store
This Student Workbook uses both Construct 3 & 2 encoding. It supplies client-side & php "back-end" encoding.
  • (ANSWERED)

    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

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Use the boolean approach and store its value in a Webstorage object.

    This one page tutorial teaches the basics of it:

    https://www.scirra.com/tutorials/266/we ... nformation

  • 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

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)