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

Username:   Password: 
 RegisterRegister   
 when i run my game it blink rapidly, how do i fix it?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
m3mb3r




PostPosted: Mon Sep 12, 2011 8:42 pm   Post subject: when i run my game it blink rapidly, how do i fix it?

What is it you are trying to achieve?
I'm trying to stop the game from blinking and make it run smooth.


What is the problem you are having?
when i run my game where its looped the game blinks.


Describe what you have tried to solve this problem
adding an extra loop. there might be something to do with the "View.set" command and then View.Update not sure.


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)


Turing:


<Add your code here>



Please specify what version of Turing you are using
<Answer Here>
Sponsor
Sponsor
Sponsor
sponsor
ProgrammingFun




PostPosted: Mon Sep 12, 2011 8:45 pm   Post subject: Re: when i run my game it blink rapidly, how do i fix it?

m3mb3r @ Mon Sep 12, 2011 8:42 pm wrote:
Describe what you have tried to solve this problem
adding an extra loop. there might be something to do with the "View.set" command and then View.Update not sure.
You're right, now look that up in the Turing Documentation and Turing Walkthrough
Then post some code so we know what you are struggling with.

You basically need to do all drawings offscreen before updating what the user sees. Everything before end of loop (in loop) would be offscreen...
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  [ 2 Posts ]
Jump to:   


Style:  
Search: