Original Post
I'm making 2d Pong with C++ and the SDL library. I just now wrote my own collision system so now thats working. My question is how do I control the movement of the ball. I'm used to really basic languages like Dark Basic in which you just rotate the image and move the image in the direction it's facing. I'm guessing it doesn't work like that here [cool] So how exactly would I control the movement and rotation of the ball? Would I have a ballxpos, ballypos, and ballangle variables. If so, how would I make the actual ball rotate and move in the new direction? I've been trying to figure this out myself for a while but after about a week I'm fresh out of ideas. Thanks, -Mason-