I've been trying to implement my own tweening/easing movements based off robert penners equations.
I've started with the simplest linear movement and got it working but the movement time doesn't work how i expect. I'm not sure if it's my code which is wrong, how i've implemented the formula, or my understanding of constructs ticks and time.
I've set the duration to 1000 milliseconds which is 1 second. The function is updated every 0.001 second which adds 1 to the objects elapsed time, 0 being the beginning and 1000 (duration) being the end, so 500 would be the half way point.
Could someone please take a look and see where i'm going wrong.
Much appreciated.
construct file