Ok i am new to game programming and i have a question..
again, we are in a pong setup but there isnt any other paddle, it is just one paddle that moves up and down the left side of the screen and the ball bounces off the left, bottom, and right side of the form. What i need help with is making the ball bounce off the paddle. How can i do this?
this code is the code for the bouncing ball.
VB Code:
With Shape2 'Ball to move .Shape = vbShapeCircle .Height = 255 .Width = 150 End With RotateText1.Visible = False Timer2.Interval = 50 'How often to move Randomize fintJump = 25 'Number of Twips to jump fintMoveLeftRight = Int(100 * Rnd) - 10 * fintJump 'Change 5 if u want more angles fintMoveUpDown = Int(100 * Rnd) - 10 * fintJump



Reply With Quote
