Hi hi
I am preparing a game in temple-run style , where the players "run" towards the top of screen ...
My question is this - how do I measure the "distance" the player is running?
I'm trying to think about it from all angles and have not found a solution -
At first I thought of doing a variable that every second goes up by 10 - but my game gets faster and faster as the game progresses, and when the player gets hurt (he has 3 lives) the game slows down a bit ... so that means he can not progress the same distance as he was running fast "Normal" or "Accelerated" speed
Do you have an idea or solution to my problem?
I appreciate it very very much.
Attached is a picture from the very initial prototype of my idea ...
Thank you very much ^ __ ^