getsentry / sentaur-survivors

A Sentry-themed Vampire Survivors clone written for Unity in C#
https://bentlegen.itch.io/sentaur-survivors
Apache License 2.0
12 stars 1 forks source link

Game score prompt - conditional #30

Closed bruno-garcia closed 3 months ago

bruno-garcia commented 4 months ago

Have the game only prompt for a score if it was built with the leaderboard API URL + PSK

bitsandfoxes commented 3 months ago

The game now stores the required data for accessing the leaderboard in a config object in /Resources. During scene load it checks whether the config is enabled and tries to log in. If it's disabled or the login failed the "post your score" prompt remains hidden.

Screenshot 2024-03-13 at 11 29 59