Hello,
Last couple of days i have been rebuilding an old project of mine, in general just optimizing it and trying out new techniques to store and handle data.
One of the other things im trying to change is migrating it from being a frame dependant game to being time dependant.
Player movement etc is no problem but i just cant wrap my head around when i wanna move a object from point a to point b.
Since it updated before at a set 60fps i could always assume that it would reach the target position in 15 frames(See picture for reference)
How can something like this be solved with a time dependant solution instead of frames?
I’m not asking for a complete solution, just a push in the right direction.
Thanks in advance!