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

Username:   Password: 
 RegisterRegister   
 View.Set and View.Update
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
TheBoyWhoTried




PostPosted: Wed Dec 02, 2015 7:40 pm   Post subject: View.Set and View.Update

Hi,

So I've been familiarizing myself with View.set and View.Update but i've messed myself up in trying to learn in and am now totally confused. As it's purpose is to eliminate flickering in animation, could someone show me a small example with say squares just gliding across the screen please. Maybe I'll be able to actually deciphered what I'm confused about exactly and understand my mistakes from analyzing an example. Thank you.
Sponsor
Sponsor
Sponsor
sponsor
TokenHerbz




PostPosted: Wed Dec 02, 2015 9:34 pm   Post subject: RE:View.Set and View.Update

I think this link explains it perfectly and offers a great example also.

http://compsci.ca/holtsoft/doc/view_update.html

Grab that code and Comment out View.Set, what happens?

Comment out View.Update, what happens?

Any specific questions after reading that link and playing around with the example be sure to post, i'll be happy to answer.

Also reminder, the View.Update is the last thing you want to do after sorting out all the pictures, as it draws everything at once.
TheBoyWhoTried




PostPosted: Wed Dec 02, 2015 10:10 pm   Post subject: Re: View.Set and View.Update

I've actually been looking at this example beforehand, since it's in turing documents it's how i kind of learned about those two commands. It seems that it doesn't work the way i thought it did. To get a better idea, could someone please explain to me why the following program isn't "animated"


animationinprogress.t
 Description:

Download
 Filename:  animationinprogress.t
 Filesize:  220 Bytes
 Downloaded:  95 Time(s)

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  [ 3 Posts ]
Jump to:   


Style:  
Search: