this means outside of the range: while (vec_dist (player.x, my.x) > 1000)

you need to use "<"

make sure you are close enough. and make sure you are using time_step for movements.


3333333333