Unreal Engine Module - Add a weekly high score leaderboard - Overview
Last updated on January 13, 2024
Introduction
There are times when you want a leaderboard to only persist for a specific period of time. In this module, we show you how to set up a weekly high-score leaderboard that resets every week.
Prerequisites
In order to start on this module you will need to do the following:
- Complete Module: Add an all time high score leaderboard.
- Byte Wars's
tutorialmodules
branch from our GitHub repository and have configured the SDK. - Force enable this module by adding the following code to the
Config/DefaultEngine.ini
file.[AccelByteTutorialModules]
+ForcedEnabledModules=TutorialModule:PERIODICLEADERBOARD
...
Learning Objectives
At the end of this tutorial, you will understand:
- How to create a weekly high-score leaderboard.
- How to add a player's score to the weekly leaderboard.
- How to list all the scores in the weekly leaderboard and display them.
- How to manually reset the leaderboard.
Preview
At the end of this tutorial, you will see something similar to the image below.