Hey, I have written the following code:
int i, j = 0, gd = DETECT, gm;
outtextxy(25,240,“Press any key to view the moving circle”);
for( i = 0 ; i <= 420 ; i = i + 10, j++ )
if( i == 420 ) break; clearviewport();
Now, I need help on how can I make it move or roll on a straight line.
Secondly, how can I insert a spoke into it.