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

概要 - 毎週のリーダーボード - (Unreal Engine モジュール)

Last updated on October 23, 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 have force enabled this module. You can do this 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