http://www.vbforums.com/showthread.p...hreadid=219448 please help!
Check out the FAQ and do a search before you post. My tutorials: Anti-Alias Pixels, Accurate Game Loop, Resource File
Ball(i).x = Ball(i).x + Sin(Ball(i).Angle) * 5 Ball(i).y = Ball(i).y + Cos(Ball(i).Angle) * 5 First of all change *5 to *speed so you can increase difficulty. Secondly, it MAY be a radians/degrees problem. Try this: Ball(i).x = Ball(i).x + Sin(Ball(i).Angle*3.14/180) * ball(i).speed Ball(i).y = Ball(i).y + Cos(Ball(i).Angle*3.14/180) * ball(i).speed *Pi/180 converts degrees to radians, to change back to *180/Pi I'm pretty sure this is your problem.
Don't pay attention to this signature, it's contradictory.
Yes, thanks!
Forum Rules