How do I stop tutorial when it played only once?

0 favourites
  • 3 posts
From the Asset Store
Change the size and position of everything without calculating anything!
  • I am making a game and when the game is played for the first time, the tutorial will show like Drag To Move. And when I refresh the browser and play the game, it started playing again. So how I fix this problem?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can use trigger once or boolane variable

  • You may be able to use LocalStorage.

    When the Layout starts, verify the existence of an item called "tutorialFlag".

    Then create an event called "When item exists" (or something like that, I use Construct in other language). If it exists, deactivate the tutorial, destroy it or what you prefer.

    To end it, once the player finishes your tutorial, simply create an action of the LocalStorage called "Define Item" with the name "tutorialFlag" and set it to 1. You could even create an event called "On Item Defined" to show some visual cue indicating some kind of save state, like a little green thumbs up that appears for 3 seconds and then disappears.

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