hi!
im making a pong game like dxball (http://www.longbowdigitalarts.com)...
When i shoot the ball i want it to move in a specific angle...
how do i do that?
i've tried this code:
VB Code:
Ball(i).x = Ball(i).x + Sin(Ball(i).Angle) * 5 Ball(i).y = Ball(i).y + Cos(Ball(i).Angle) * 5
but it doesnt move where it should all the time....
whats wrong?




Reply With Quote