Wave,
I had to explain this render tweening thing...
when I implemented my own based on this code I was very confused, but if you take your calculator and go over the code you will see is easy to do yourself... I implemented my own version of it, differently, but it does the same thing.
Basically, you have the Fps in a second just calculated(with a little code you can do that or with blitz's timers), then take it, divide it by 1000 or 100 and you have a decimal number, then adjust this decimal to the moving entities speed just multiplying by the calculated speedfactor and you are done. this is basically what the code above does... it calculates actual FPS and Speedfactor at the same executing time.
anytime you dont understand formulas in code..take your calculator, check results and debug it graphically... and it will be clearer.
Hope this helps. cheers.
I had to explain this render tweening thing...
when I implemented my own based on this code I was very confused, but if you take your calculator and go over the code you will see is easy to do yourself... I implemented my own version of it, differently, but it does the same thing.
Basically, you have the Fps in a second just calculated(with a little code you can do that or with blitz's timers), then take it, divide it by 1000 or 100 and you have a decimal number, then adjust this decimal to the moving entities speed just multiplying by the calculated speedfactor and you are done. this is basically what the code above does... it calculates actual FPS and Speedfactor at the same executing time.
anytime you dont understand formulas in code..take your calculator, check results and debug it graphically... and it will be clearer.
Hope this helps. cheers.