WEB game leaderboard problem, please help

With the incorrect version or with the fixed version?

with bestscore version

Okay change that to β€œname” and try again

fade_out
fade_out
fade_out
Player died with score: 12
Success: False
Updating highscore from 12 to 12
Saving highscore: 12
Highscore saved successfully: 12
Setting highscore label to Russian
bullet
Audio finished
updated version

Yes it should not work inside of Godot, i think it can only work when its exported

1 Like

why my game doesnt loading :skull:


i have waited 2 minutes but before just seconds in godot everything perfect, but how leaderboard will affect my game loading

I dont think this has to do with the leaderboard. Maybe upload it again? I have to go soon so you have to deal with this alone unitl tomorrow

no problem i will too :grinning: anyway i think it must work as you said

1 Like

i dont know but


this time its false so i think it will better to discus it tomorrow but anyway thanks for what you do today! :+1:

You can try

func set_highscore(name: String, score: float):
    var options
    options = {
        "name": "BestTime",
        "score": score
    }
    
    Bridge.leaderboard.set_score(options, funcref(self, "_on_set_score_completed"))
1 Like


i dont understand why its still not working but i am sure that we need to use BestTime

func set_highscore(name: String, score: float):
    var options = {
        "leaderboardName": "BestTime",
        "score": score
    }
    
    Bridge.leaderboard.set_score(options, funcref(self, "_on_set_score_completed"))
1 Like

I will try soon

okay the same but i think maybe we need to change the β€œscore”: score
to my high score cuz only what need to be saved is my high score.


in this video he was using his best score

Thats what you are doing in this line

highscore = current_score
AdManager.set_highscore("Player", current_score)

They are the same value

Can you send the link of this tutorial?

ah yes :sweat_smile:

okay but its russian

and leaderboard is at 09:49 this time

I think the only way for the leaderboard to work is if you use the authentification

you mean log in or smth like that to have your nickname ?