Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Ping Pong
Index -> Programming, Turing -> Turing Submissions
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
upthescale




PostPosted: Mon Apr 24, 2006 5:01 pm   Post subject: Ping Pong

I just started to learn how to move balls randomly on the screen...20 minutes later i said to my self, why don't i make a pong? so the oprogram took me a good hour, it has nice sounds, but the detection when you lose is a bit off....Have fun
Sponsor
Sponsor
Sponsor
sponsor
Clayton




PostPosted: Mon Apr 24, 2006 6:49 pm   Post subject: (No subject)

um, this took you an hour?? anyways, you collision detection isnt a little off, its way off, also, your screen size is really wierd, i couldnt see anything for a second player when i played without scrolling down,(could i suggest playing across the screen instead of vertically?), also your winning conditions are a little strange, if your going to call it pong then make it pong, instead of setting a time limit, make the ball go faster until someone loses a "life", also make your controls apparent, it took me a while until i figured out a and d controlled your movement, not bad but it could use some improvements
upthescale




PostPosted: Mon Apr 24, 2006 6:57 pm   Post subject: (No subject)

i can see palyer two fine on my screen, is there anything i can do to fix it?
Clayton




PostPosted: Mon Apr 24, 2006 7:05 pm   Post subject: (No subject)

you could change the run window size, or like i said, make the game play sideways, the reason i couldnt see the player 2 paddle was because my screen is shorter than yours (less pixel height) to fix this you could make the program more dynamic by doing something like
code:

View.Set("graphics:500;max")

this way the screen will never go beyond the height of any computers screen, however on some computers this will make the game harder to beat, as it gives the user less time to respond, as i suggested, make the game play sideways to help solve this problem
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 4 Posts ]
Jump to:   


Style:  
Search: