this is the timeline which is basically here to start the time, it starts at 0 seconds and will go up to 999 seconds
I have created a time conversion blue print which will convert the race/lap time into minutes seconds and milliseconds.
This function checks if we have a new lap record if so it saves it and an animation which i created will fly on screen to notify us of achieving a new lap record.
This function saves the best race time if there is a new record and whenever we play the game the race record will will show up.
this function saves both, the best lap time and best race time and will display them in the splash screen
the first function will check for a game save and if there is one it will launch all the records set and then it will use the INIT text to convert numerical values into text for the HUD.
This function will convert the numerical values of the times/records in my game, as you can see gold, silver, bronze, best lap time etc into text for the HUD which will allow the player to see it displayed on the HUD.
This function will load the records set by the player for the best lap time and best race time from my save game which was set up earlier to monitor if we have any new records.
This funtion will allow us to reset the best times set by the player to 00:00.00 by pressing the R key while in the splash screen.
This function will save the game (the players best times) to a save slot which upon pressing play again will launch the save slot and display the best times thanks to previous blueprint coding and our load the game function.
No comments:
Post a Comment