Computer Science Canada

Pong so far

Author:  XeroX [ Wed May 17, 2006 8:44 pm ]
Post subject:  Pong so far

here is a pong game i've created. It would be much appreciated if anyone could give me any suggestions for improvement. one problem is the words you type in during get statements don't appear.

Thanks,
XeroX

Author:  XeroX [ Thu May 18, 2006 2:47 pm ]
Post subject: 

Here's a newer version. text still won't appear when you type it

Author:  Clayton [ Thu May 18, 2006 2:56 pm ]
Post subject: 

first thing: you should only ever need one View.Update in your program

now on to your problem, the reason that the typing isnt appearing is because of the initial View.Set, which sets the screen to offscreenonly mode, which creates a buffer to store all changes to the screen then puts them to it when you use the command View.Update, so when you type in your letters, they are stored in the buffer until you call View.Update, that is why your letters arent showing up Very Happy

Author:  XeroX [ Thu May 18, 2006 3:08 pm ]
Post subject: 

thanks Very Happy , that worked. once again, another copy (is there a way to edit one post and delete the previous version?) Question Confused

Author:  XeroX [ Tue May 23, 2006 6:48 pm ]
Post subject: 

please see http://www.compsci.ca/v2/viewtopic.php?t=12400


: