Final score based on star collected and time , how?
Hey there ,
Im working on the scoring system for my game .
So i finished the "Star collecting" system , and i have also a time system that tells how long it took the player to finish , (in seconds).
Now i would like to make a final score - integer - as a result of this 2 attributes , so lets say every star gives the player 1000 points , thats fine , but what about the time?
I want it so - the faster the player finished the level the higher the score,
Any video tutorials on this?
Or any suggestions from you guys?
Please help.
Roy.
Im working on the scoring system for my game .
So i finished the "Star collecting" system , and i have also a time system that tells how long it took the player to finish , (in seconds).
Now i would like to make a final score - integer - as a result of this 2 attributes , so lets say every star gives the player 1000 points , thats fine , but what about the time?
I want it so - the faster the player finished the level the higher the score,
Any video tutorials on this?
Or any suggestions from you guys?
Please help.
Roy.
Comments
example;
StarScore = 2star*1000 = 2000
TimeScore = [(MaxValue 120seconds) - (Actual player Time 40 seconds)] * (score factor 100) = 8000
Final Score = 10000
if the player is fast
StarScore = 2star*1000 = 2000
TimeScore = [(MaxValue 120seconds) - (Actual player Time 10 seconds)] * (score factor 100) = 11000
Final Score = 13000
There might be other way but if it was me i'll approach it like this.
Thanks mate
Roy.