Search code examples
pythonpong

How can i make the ball in pong slower?


ball then moves way too quick

    #Move the ball 
    ball.setx(ball.xcor() + ball.dx)
    ball.sety(ball.ycor() + ball.dy)

Solution

  • ball.setx(ball.xcor() + (ball.dx / 2))
    ball.sety(ball.ycor() + (ball.dy / 2))
    

    50% speed