[Help]Ball Bounce
Hey guys,
I have a problem in my VB Pong application. On the player's side, if the ball goes below the paddle, it just bounces off and doesn't count the computer scoring. Right now I have:
I have a problem in my VB Pong application. On the player's side, if the ball goes below the paddle, it just bounces off and doesn't count the computer scoring. Right now I have:
Code:
If Ball.Left <= 0 Then 'Ball hits player side
tmrBall.Enabled = False 'Disable timer for ball
computerScore += 1 'Increment computer score
Ball.Top = 158 'Reset ball to center screen
Ball.Left = 305 'Reset ball to center screen
btnStart.Enabled = True 'Enable start button
btnStart.Visible = True 'Make start button visible
lblInstructions.Visible = True 'Make instructions visible
End If
