Is It Possible To Save A Username And Make It So They Never Get On The Scoreboard If They Restart?
The reason I ask is that I've got an idea for a game but I only want the FIRST attempt to be registered on the score board. If they restart their score won't count. I want this to be a one attempt only as far as getting on the score board. The least attempts + time. The scoreboard will reflect the least attempts and I've added a time just in case of people doing it in the same amount of attempts. Of course you'll still be able to try it again but you won't get on the score board.
-
The only way I can imagine doing this is saving a logic variable after the first score has been registered. Use the output of this (if it equals 1, for example) to prevent future scores being saved on the scoreboard.
This method is still limited; in the event of the user resetting their level data, the variable will be deleted. -
That's a pity. Hopefully a solution crops up at some point because the game depends on it. It just would not work the way I envisage it without this.
-
Add this in the feedback forum. The simplest solution would be to have a way to get the player's current entry in the scoreboard. This could also be useful for knowing if they beat their old highscore, displaying their current highscore, etc.
Please sign in to leave a comment.