moving a ball??

BlitzPlus Forums/BlitzPlus Beginners Area/moving a ball??

Hello everyone,

I'm trying to make a Pong game and I have no idea how to correctly move the ball. I've searched the forums but can't find anything useful to me. Would someone post some sample code and explain how it works?

I can get the ball to move in a straight line and hit the bat but it won't bounce back. I've also looked in the sample programs and seen some working code but I don't understand how or why it works.

Thanks