Skip to content

Leaderboard dialog

Display the player score and allow to submit it to a leaderboard.

Authors and contributors to this experimental extension: D8H.


Display the player score and allow to submit it to a leaderboard.

Tip

Learn how to install new extensions by following a step-by-step guide.

Leaderboard dialog

Displays the player score and allows to submit it to a leaderboard.

Object actions

Best score
Change the best score of the object.

See parameters
  • Parameter 0: 👾 Object
  • Parameter 1: 🟰 Operator
  • Parameter 2 (🔢 Number): Value

Technical note: parameter 3 are internal parameters handled by GDevelop.

Default player name
Change the default player name.

See parameters
  • Parameter 0: 👾 Object
  • Parameter 1: 🟰 Operator
  • Parameter 2 (string): Value

Technical note: parameter 3 are internal parameters handled by GDevelop.

Leaderboard
Change the leaderboard of the object.

See parameters
  • Parameter 0: 👾 Object
  • Parameter 1: 🟰 Operator
  • Parameter 2 (🔤 Leaderboard Identifier (String)): Value

Technical note: parameter 3 are internal parameters handled by GDevelop.

Score
Change the score.

See parameters
  • Parameter 0: 👾 Object
  • Parameter 1: 🟰 Operator
  • Parameter 2 (🔢 Number): Value

Technical note: parameter 3 are internal parameters handled by GDevelop.

Title
Change the title of the object.

See parameters
  • Parameter 0: 👾 Object
  • Parameter 1: 🟰 Operator
  • Parameter 2 (string): Value

Technical note: parameter 3 are internal parameters handled by GDevelop.

Object conditions

Best score
Compare the best score of the object.

See parameters
  • Parameter 0: 👾 Object
  • Parameter 1: 🟰 Relational operator
  • Parameter 2 (🔢 Number): Value to compare

Technical note: parameter 3 are internal parameters handled by GDevelop.

Default player name
Compare the default player name.

See parameters
  • Parameter 0: 👾 Object
  • Parameter 1: 🟰 Relational operator
  • Parameter 2 (string): Value to compare

Technical note: parameter 3 are internal parameters handled by GDevelop.

Back button clicked
Check if the back button of the dialog is clicked.

See parameters
  • Parameter 0: 👾 Object

Technical note: parameter 1 are internal parameters handled by GDevelop.

Next button clicked
Check if the next button of the dialog is clicked.

See parameters
  • Parameter 0: 👾 Object

Technical note: parameter 1 are internal parameters handled by GDevelop.

Restart button clicked
Check if the restart button of the dialog is clicked.

See parameters
  • Parameter 0: 👾 Object

Technical note: parameter 1 are internal parameters handled by GDevelop.

Score is submitted
Check if the score has been sucessfully submitted by the dialog.

See parameters
  • Parameter 0: 👾 Object

Technical note: parameter 1 are internal parameters handled by GDevelop.

Leaderboard
Compare the leaderboard of the object.

See parameters
  • Parameter 0: 👾 Object
  • Parameter 1: 🟰 Relational operator
  • Parameter 2 (🔤 Leaderboard Identifier (String)): Value to compare

Technical note: parameter 3 are internal parameters handled by GDevelop.

Player name
Compare the player name.

See parameters
  • Parameter 0: 👾 Object
  • Parameter 1: 🟰 Relational operator
  • Parameter 2 (string): Value to compare

Technical note: parameter 3 are internal parameters handled by GDevelop.

Score
Compare the score.

See parameters
  • Parameter 0: 👾 Object
  • Parameter 1: 🟰 Relational operator
  • Parameter 2 (🔢 Number): Value to compare

Technical note: parameter 3 are internal parameters handled by GDevelop.

Object expressions

Expression Description
Object.BestScore() Return the best score of the object.
Object.DefaultPlayerName() Return the default player name.
Object.LeaderboardId() Return the leaderboard of the object.
Object.PlayerName() Return the player name.
Object.Score() Return the score.

This page is an auto-generated reference page about the Leaderboard dialog extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.