メインコンテンツまでスキップ

Unreal Engine Module - Add an all time high score leaderboard - Overview

Last updated on January 13, 2024

Introduction

Stimulating competitive play almost always involves leaderboards. In this module, we show you how to create and display a simple high score leaderboard in Byte Wars so that players can compete against each other.

Prerequisites

In order to start on this module you will need to do the following:

  • Complete Module: Track and display a player's high score.
  • 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:LEADERBOARDESSENTIALS
    ...

Learning Objectives

At the end of this tutorial, you will understand:

  • How to create a high score leaderboard.
  • How to add a player's score to the leaderboard.
  • How to list all the scores in the leaderboard and display them.

Preview

At the end of this tutorial, you will see something similar to the image below.

Leaderboard demo

References