I’m trying to make a leaderboard like 3D car coinhunt, where players can enter a name when they’re not logged in.
The score submitted to the leaderboard should be attached to the name entered in the text field.
What’s happening is that submitting a score without logging in (from a different computer, sharing the file) submits as “anonymous player” and the computer linked to my gdevelop account has been submitting it under my gdevelop username regardless of what i input.
I changed the code to hardcode submit only either “this” or “that” but gdevelop is somehow bypassing it to put in my username directly.
Is there a way to let users submit to the leaderboard under a custom name?
Ah okay I see it and I can reproduce the problem in a new project.
Looks like it works like the other Save score action which is supposed to do that with the authentication name.
When I published my game there was no authentication yet, that’s why it works there.
I actually suspect you are logged in.
There is definitely an “unwanted” auto login at every preview start now, in GD and maybe also on gdGames. If I explicitly log out, I can send a custom name.
If you are logged in, the username is always used.
(For whatever reason there are two different actions)