I have a platformer game, and at the end, there is a flag that makes you go to the winning screen. I want to make a thing where when you touch that flag, it gets the total time it took you from the start and puts you on the leaderboard with your time. I have different levels, and I don’t want the time to reset when someone goes to the next level. Could someone please tell me how to do this?
You can do this using a global block, which would save across levels, and when the player reaches the end, it will get the global and submit it to the score input of the leaderboard. In the player have a timer for 1 second that loops forever and it just activates the + in the global. Let me know if you need an example. Hope this helps!
It worked, thank you!