Skip to main content

Pong horizontal movement algorithm

I was just wondering about the horizontal movement of a pong ball? What is the general algorithm used with this? The ball in my pong game just moves vertically and I don't know about the algorithms used for horizontal movement.

LiquidFeline
  • 1.4k
  • 2
  • 13
  • 32