ball.x += sin (ball_angle);
ball.y += cos (ball_angle);
(this could be wrong, I'm not thinking very strongly right now)
Remember that ball_angle must be in radians.
ball.x += sin (ball_angle);
ball.y += cos (ball_angle);
(this could be wrong, I'm not thinking very strongly right now)
Remember that ball_angle must be in radians.
"He who makes a beast of himself, gets rid of the pain of being a man." Dr. Johnson