Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


OverviewFelgo 2 Support (Qt 5) › Reset high score every month

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #12271


    I save high score in local storage and report it to v-play game network so that user can report the highest score as soon as he gets online.

    If local storage has higher score, that score is reported to game network and vice versa.

    Now, I want to reset high score of all user every month and I want to reset both high score from local and network.

    How can I implement that? Thanks…


    Felgo Team


    First of all you don’t necessarily need to save your highscore locally, the gamenetwork components will cache a highscore locally until a device is online and can send it to the backend (offline support).

    For your use-case the best solution would be to use a new leaderboard for every month. You can automate that task by naming your leaderboards something like “<YEAR>-<MONTH>” and use that one for the reportScore function. With that approach you can also access past leaderboards at any time if you would ever need the ranking again.

    Hope this answers your question?



Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.