Could someone please help me with my pong game?[SOLVED]

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
KidCut
Newbie
Posts: 1
Joined: Fri Jan 01, 2016 7:15 pm

Could someone please help me with my pong game?[SOLVED]

Post by KidCut »

Hey. I have done stuff in QBASIC and Apple II BASIC in the past and as of recently I have been working really hard to be able to gain the skills I need to design my own games. The past few days I have made a lot of progress and I decided that I have reached a point where I could code a simple game. I thought that pong, being one of the simplest (man was I wrong!) games there is, would be something I could easily get done. While I have been able to make a great deal of progress with this project, I am currently stuck on one single issue. The ball only bounces off the paddle at a VERY specific location. What I want is to have the ball bounce whenever it makes contact with the paddle, not only when it is dead center. I use QBASIC in DOSBox on OS X so I am not sure how to copy my code, but if screenshots are needed I will provide them.
Post Reply