• Advertisement
Sign in to follow this  

pong game

This topic is 4363 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

well I am developing a pong clone and have all the paddles drawn and animated but need to draw the pong ball, I am using openGL, any suggestions on how to animate the ball

Share this post


Link to post
Share on other sites
Advertisement
Can't you just use the same method you used to draw and animate the paddles to draw and animate the ball? It wouldn't be that much different...

Share this post


Link to post
Share on other sites
Have the ball start directly in the middle of the screen and then generate a random slope so the ball takes off on start. After each point is scored the ball could be placed back on the middle of the screen and a new random slope could occur.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement