H
HenrikoNumberOne
Guest
Hello everyone! I am currently making my own level based 2D puzzle platforming game, and it's shaping up really well. Right now I'm trying to get a "level based timer system" to work, however I'm having some trouble understanding how I would do that. Let me explain how I need it to work;
"There is a HUD on the right side that tells you the level name, the current time you've got and the best time ever recorded on that specific level." - That's basically what I need. Here is a picture of what I've got:
I already got the name thing working, however I don't really understand how I'm supposed to make a timer that counts in seconds + milliseconds for every level, and which then set that time to a specific global.variable for that level which can then be saved using the save system I already have without having to do an insane amount of code and variable creation for every single level.
Any help would be much appreciated.
- Henriko
"There is a HUD on the right side that tells you the level name, the current time you've got and the best time ever recorded on that specific level." - That's basically what I need. Here is a picture of what I've got:
I already got the name thing working, however I don't really understand how I'm supposed to make a timer that counts in seconds + milliseconds for every level, and which then set that time to a specific global.variable for that level which can then be saved using the save system I already have without having to do an insane amount of code and variable creation for every single level.
Any help would be much appreciated.
- Henriko