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

Username:   Password: 
 RegisterRegister   
 How to stop flickering?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
sensfan




PostPosted: Thu Jan 19, 2006 11:51 am   Post subject: How to stop flickering?

How can you stop the words/images from flickering? Sorry for the short question but I just want to know how to make programs smooth instead of looking all cut up and choppy.
Sponsor
Sponsor
Sponsor
sponsor
sylvester-27




PostPosted: Thu Jan 19, 2006 11:53 am   Post subject: (No subject)

are you using offscreenonly? to make it stop flickering,
code:
View.Update
should work. if not tell me
ZeroPaladn




PostPosted: Thu Jan 19, 2006 12:13 pm   Post subject: (No subject)

what sylvester is trying to say is that to stop the flicker you need two things. View.Set and View.Update.
View.Set sets the screen up to whatever you want. Check out your Help File for more details. anyways, you'll need this code...

code:
View.Set ("offscreenonly")


this sets your screen so that all output to the screen is delayed untill you call this little chunk of code...

code:
View.Update


Usually you'll want to call this at the end of the loop, or before a delay, but never put 2 View.Updates together, as youll just create the problem that you strived to avoid. hope this helps.
GoVikingsGo




PostPosted: Thu Jan 19, 2006 8:11 pm   Post subject: (No subject)

turing is so glitchy in this matter when it comes to screen seting but use View.Update
Albrecd




PostPosted: Fri Jan 20, 2006 12:03 pm   Post subject: (No subject)

Quote:
turing is so glitchy in this matter when it comes to screen seting but use View.Update


Can you really say this? Just because you are unable to make something work doesn't mean it's glitchy. That's like saying that math is glitchy because you can't fully calculate pi.
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  [ 5 Posts ]
Jump to:   


Style:  
Search: