Skip to main content

Overview - Weekly leaderboard - (Unreal Engine module)

Last updated on June 12, 2024

Introduction

To keep competition fresh and exciting, you can have players compete over a set period of time. In this module, you will learn how to set up a leaderboard that resets every week.

Prerequisites

To complete this module, you will need:

  • To have completed the following module:

  • The Byte Wars tutorialmodules branch checked out in your local Byte Wars Unreal project repository.

  • To 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 module, you will know how to create a weekly leaderboard and implement:

  • Adding a player's score to the weekly leaderboard
  • Listing and displaying all the scores in the weekly leaderboard
  • Manually resetting the weekly leaderboard

Preview

At the end of this module, your project will look like the image below:

Leaderboard demo Unreal Byte Wars weekly leaderboard