Quote:
Originally Posted by DustyPorViva
PHP Code:
player.x -= cos(angle) * ((player.x - temp.dest[0])/distance) * walkingspeed;
player.y += sin(angle) * ((player.y - temp.dest[1])/distance) * walkingspeed;
But the methods you're using seems overly complicated.
|
They are compared to that! Thank you Dusty.