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

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




PostPosted: Tue May 23, 2006 4:39 pm   Post subject: Pong

Here is my game of pong, any comments and suggestions are appreciated


The Extension 'exe' was deactivated by an board admin, therefore this Attachment is not displayed.

Sponsor
Sponsor
Sponsor
sponsor
Clayton




PostPosted: Tue May 23, 2006 4:54 pm   Post subject: (No subject)

okay, first thing, DONT HARDCODE THE SCREEN POSITIONS!! if you are going to set the screen size to max;max then make the program use the whole screen. obviously the screen you are using is smaller than the one i am, keep this in mind when programming games like this, other than that not bad, it looks good ("storyline" kinda sux though lol), and is like every other pong game ever posted.
TheOneTrueGod




PostPosted: Tue May 23, 2006 4:56 pm   Post subject: (No subject)

I swear this EXACT SAME GAME was posted, along with the whole hardcoded screen values, just a little while ago... minus the story...
XeroX




PostPosted: Tue May 23, 2006 6:40 pm   Post subject: (No subject)

Yes, I know the storyline is kind of, crappy, I just wanted to add some humor.

And I will change the screen values.

thanks
Darkmantis




PostPosted: Tue May 23, 2006 8:12 pm   Post subject: (No subject)

omg..my eye twiches trying to play because its so slow..plz speed it up a bit Very Happy
XeroX




PostPosted: Wed May 24, 2006 2:45 pm   Post subject: (No subject)

what's your resolution setting? try 800x600
TheOneTrueGod




PostPosted: Wed May 24, 2006 4:28 pm   Post subject: (No subject)

#1) Did you plagiarize this? Because this exact game was posted a while ago.

#2) The whole point of using "max,max" for screensize is so that your program can be dynamic. It should work on all computers and resolutions, not just yours. If you wanted the window to be 800X600, you should have set the window to 800X600.
XeroX




PostPosted: Wed May 24, 2006 8:09 pm   Post subject: (No subject)

1. no i did not plagiarize it, i previously posted it in the help, but moved it to the applications updated.

2. i have set it to 700x550, but it displays scroll bars both horizontally and vertically why and how do i fix this?
Sponsor
Sponsor
Sponsor
sponsor
TheOneTrueGod




PostPosted: Wed May 24, 2006 9:31 pm   Post subject: (No subject)

The only way (That I know of) to fix this is to increase your screen resolution Razz That, or use max/max, and then instead of using hardcoded constants for the boundaries, use "maxx" and "maxy". Shouldn't be too hard!
Darkmantis




PostPosted: Thu May 25, 2006 6:30 am   Post subject: (No subject)

Sry, but one more thing, plz make the paddles faster then the ball so you can accually stop the ball when moving from the top to the bottem.
TheOneTrueGod




PostPosted: Thu May 25, 2006 6:58 am   Post subject: (No subject)

The ball moving faster than the paddles actually adds skill to the game, because you have to anticipate where the ball is going (Though that skill is completely pointless when you can't see the boundaries Razz)
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  [ 11 Posts ]
Jump to:   


Style:  
Search: