yep, lerp() is what you need. It is a math function used in basically in all/many games/engines.
Darn it, my posts here keep disappearing!
Ok, I've gone through lerp, but I'm still stuck.
I've tried this:
obj_Player = lerp (obj_Player.X, obj_Player.X + 32, dt)
But it's too quick to know.
I've tried this:
obj_Player.X = lerp (obj_Player.X, obj_Player.X + 32, 60*dt)
and
obj_Player.X = lerp (obj_Player.X, obj_Player.X + 32, 60/dt)
I've also tried this from the below blog post:
obj_Player/X = lerp (obj_Player.X, obj_Player.X + 32, 1 - 0.5 ^dt)
https://www.construct.net/gb/blogs/ashl ... a-time-924
I also checked out this post:
how-do-i-lerp-with-dt_t129150
Any help please?