smooth isometric interpolation

by Mottenmann   Last Updated October 20, 2017 23:13 PM

I am working on an low resolution, isometric, pixel game in which several objects move from tile to tile. I do this with this simple interpolation:

let percent = elapsedTime / SPEED

vec.x = start.x + ( (dest.x - start.x) * percent )
vec.y = start.y + ( (dest.y - start.y) * percent )

This seems to work fine except when moving diagonally. It starts to jiggle pretty heavy. Is there a way to smooth this out?

I am using a 32x16 tile size.



Related Questions




Multiplayer game server sync

Updated June 12, 2016 08:05 AM