My first advice is to not work with Degrees (Animation.zip):
Code:
var
S, C: Single;
SinCos(Angle, S, C);
X1:= X0 + L * S;
Y1:= Y0 - L * C;
Your angle must be in the range from 0 to 2*Pi (Figure A, Picture 1):
If Angle > 2*Pi then Angle:= Angle - 2*Pi;
If Angle < 0 then Angle:= Angle + 2*Pi;
(but this should not happen if your animation is prepare properly)
Figure B and C presents the problem that you can have by using Auto Frames.
In my case, one minute of animation takes 40 KB with Auto Frames and 200 KB without Auto Frames - this is still not much, so it is not necessary to implement Auto Frames.
Bookmarks