im trying to explain this the best i can .
this way you change the velocity to get the balls angle change ,im trying to hopyfully ,with i havent a clue ,get the angle instead.
thanks all
Code:If Image1(i).x + Image1(i).Radius < 35 Then Image1(i).vx = -Image1(i).vx End If If Image1(i).x + Image1(i).Radius > 981 Then Image1(i).vx = -Image1(i).vx End If If Image1(i).y + Image1(i).Radius < 35 Then Image1(i).vy = -Image1(i).vy End If If Image1(i).y + Image1(i).Radius > 693 Then Image1(i).vy = -Image1(i).vy End If




Reply With Quote