Hello everyone, im a newbie in gdevelop and hope someone more expert than me can help me with this.
Im creating a game, open to everybody, with no log in, and im now trying to figure out the leaderboard features.
Example of what i would like to achive:
Player start the game, he play a scene and he got a score, at the end of the scene the player is sent to the leaderboard page where he should type his name(there is no login so is forced) and save his score; here is what i would like that happen:
He can ADD the score he just made to a player already listed in the leaderboard just by typing that name, it will add his scene score to that player total score; or create a new player by typing a name (not already in leaderboad), and add the score to that name just created.
Everybody is free to add his own scenescore to an already listed player total score on the leaderboard or create a new player of his own and sending score there by tipyng that name all the time a scene end.
After that
i need to get the total scores of all the player that are in the leaderboard and put it in a variable, and then comparing it with another number that i will input.
If the total scores is equal to the number i inputted, the game can not be played anymore by no one, perhaps by deleting the button of play.
I was wondering if there is a way to do it with the leaderboard that exist on gdevelop, or need to create one from scratch.
Thanks a lot