So I figured out circular motion, pretty simple really. However I can't figure out how to CONTROL it. Like if you hold up you will travel along the circle CCW, and down for CW movement. I imagine you could easily code being able to move in and out as well by simply adjusting the radius.
TPI=6.2831855 '(2*PI)
DEF CIRC D
WHILE A<TPI
CX=399/2+COS(A)*D
CY=239/2+SIN(A)*D
GCIRCLE CX,CY,CR,RGB(R,G,B)
A=A+.05
VSYNC
GCLS
WEND
END
So there is the function, but which variable would you manipulate to move along that path or is it not that simple?
I tried only increasing A on button press, or only updating the CX and CY positions with pressing DOWN, then for UP simply switch CX to be minus COS. Nothing happens though? Any thoughts?