Hi to everybody!....and sorry for my poor english...
I apologize because there is anoter thread similar to this one, I know.... i've posted there too. But nobody can't (or want
I'm making a 2d racing game and i want to implement this feature. I've understanded (partially) the example and the use of array for this (thanks a lot!) and now i can record and playback only a single lap.
I'll try to explain better: when I finish a lap and my car is running another lap, I must stop to "record" to make possible to retrieve the values previously stored, so i can't record actual lap with a single array.
Partially I solved using two arrays, when one is recording the other one is "playing", but I believe it's not the right way.
Now my problem is that I am not able to playback the values stored in array only if current lap is faster than best lap.
I hope you can understand my problem, but mostly I hope you can help me!
Tanks!!!!