Your next feature
Leaderboard
Save the score after each round and show who's ahead.

Your test score appears in the leaderboard after a round.
Prepare the same project
Choose the same project in the dashboard as in your game configuration.
Leaderboard →Create or reuse these test entries in the dashboard form. These are example values, not current project data.
- Key (slug)
weekly- Sort Order
DESC- Accept scores only from validated runs
false
Save, reload and verify the entries before running the example. Preserve unrelated definitions.
Build this feature
You can preview the guide. Running it requires an active project key. Prepare project
SDK installed, project configuration imported and player signed in.
Save the GDScript, attach it to a node in the main scene and run it. Check Output.
Test your new feature.
Your test score appears in the leaderboard after a round.
Choose the same project in the dashboard as in your game configuration.
Endpoints
- POST
/leaderboard/submit - GET
/leaderboards/{boardKey}/top - GET
/leaderboards/{boardKey}/rank - GET
/leaderboards/{boardKey}/around

