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

Username:   Password: 
 RegisterRegister   
 Reducing Flicker in a program and drawing the right stuff
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
S_Grimm




PostPosted: Wed Jun 04, 2008 10:57 am   Post subject: Reducing Flicker in a program and drawing the right stuff

I am working on a pong game. the ball will not show up when i run the program here is the code can anyone help me?


Pong.t
 Description:
Here it is

Download
 Filename:  Pong.t
 Filesize:  599 Bytes
 Downloaded:  71 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
rto




PostPosted: Wed Jun 04, 2008 11:17 am   Post subject: RE:Reducing Flicker in a program and drawing the right stuff

hmm, also notice taht when you press pause on the actual program, and than you press resume u'll notice the ball. every time u press pause and resume it has moved .
SNIPERDUDE




PostPosted: Wed Jun 04, 2008 2:07 pm   Post subject: RE:Reducing Flicker in a program and drawing the right stuff

you are drawing the ball before you clear the screen.

Switch around the order of the two and you'll get it.
S_Grimm




PostPosted: Fri Jun 06, 2008 10:30 am   Post subject: RE:Reducing Flicker in a program and drawing the right stuff

thanks it worked
SNIPERDUDE




PostPosted: Fri Jun 06, 2008 10:37 am   Post subject: RE:Reducing Flicker in a program and drawing the right stuff

no problem Smile
DaveAngus




PostPosted: Fri Jun 06, 2008 11:26 am   Post subject: RE:Reducing Flicker in a program and drawing the right stuff

I haven't got turing on this computer so I cant check the code or anything but check your View.Update and see if you have one in the right place. Not having a View.Update is a common error.
Hope it all goes well!
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: