I am having problems with the movement code in 2d enviorment. I have read the stuff on the site, and implemented what they say, but it doesn''t seem to work. When I try to move, it gives erratic results. Any help would be apprieciated.
X := X + int(speed * cos(angle));
Y := Y - int(speed * sin(angle));