Saving level progress

0 favourites
  • 5 posts
From the Asset Store
Progress\Loading Bar. Now Load you game like a Professional.
  • Hi all,

    I am planning a game where there will be 10 layouts which will also be the games 10 levels. Each level will be completed when the player reaches an object at the end of each level.

    Naturally, the player will first begin at layout (level) 01, which when completed will allow progression to Layout (level) 2 etc.

    Can anybody tell me the best way to be able to save and load the players current level so that they can return to that level when loading the game up - I'm guessing using either web or local storage.

    And also, how best to to link that saved progression to a level select page that unlocks completed levels but locks uncompleted ones.

    The game will eventually be targeted towards mobile platforms.

    I appreciate there have been many forum posts regarding this, but none (that I have found) that simply provides a step by step guide simple enough for me to understand!

    Thank you in advance for any help you may be able to provide.

    Best,

    RBS.

  • If you want to save everything and allow players to save mid-level, use "System -> Save/Load" events.

    If you only want to save a few values - like the number of completed levels, number of lives left, score - use Local Storage. (former Web Storage)

    There are lots of tutorials you can check:

    construct.net/en

  • Many thanks for your reply - yes I ideally want to save levels rather than states, and I realise that I will need to use Local Storage - it is how I use it that is the problem. Yes, I have looked for tutorials but haven't yet found one that seems to explain the process from start to finish.

    RBS

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here are a few tutorials:

    construct.net/en

    construct.net/en

    construct.net/en

    You only need a couple of events:

  • Thanks a lot I really appreciate it.

    Best

    RBS.

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