by Game A Gogo » Fri May 25, 2007 11:56 pm
Ir make sit go to the nearest point on a 60 pixel basic.
How it works:
I am compressing the x and y location, making it loose "quality" whit the round(); and to be able to show the "uncompress" version, i need to place *60, which uncompress the compress data but since the some of the data quality, it has to be "choppy", and because the round(); rounds up anything higher then ".5" it makes it move to the closest point.
Programming games is an art,