How do I save a high score value with localstorage?

From the Asset Store
Template for a generic save / load system, fully documented in comments and video
  • Hi, i'm in version 206 and the Webstorage was deleted..

    My game is similar that flappy birds. I want to save the best highscore in all games. I have the value "score" that show the current score. But, if "score" is greater than the besthighscore, i want to save this "score" in "highscore".

    I already read the tutorials, but i don't found the solution..

    Help? Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How come you didn't find the solution?

    https://www.scirra.com/tutorials/1461/h ... age-plugin

    This tutorial shows exactly how to use local storage..

    It even has an example capx to download..

  • Hi, i'm in version 206 and the Webstorage was deleted..

    My game is similar that flappy birds. I want to save the best highscore in all games. I have the value "score" that show the current score. But, if "score" is greater than the besthighscore, i want to save this "score" in "highscore".

    I already read the tutorials, but i don't found the solution..

    Help? Thanks!

    Webstorage has been deprecated for over 6 months. When you update, it's best to keep up with the release notes.

    Also, r206 is from May - you should really update your version to at lease the latest stable, currently r216, available HERE.

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