Posted 03 August 2001 - 03:41 PM
Using what I could gather from the articles at this site, I assembled the following code. Unfortuanately, it yield erratic results and the object does not move as I want it to (not even in the right direction).
X := X + int(speed * cos(angle));
Y := Y - int(speed * sin(angle));