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

Username:   Password: 
 RegisterRegister   
 animation without loops
Index -> Programming, Turing -> Turing Help
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
basketball4ever




PostPosted: Fri Jan 28, 2005 12:28 am   Post subject: animation without loops

is it possible?? and how???
Sponsor
Sponsor
Sponsor
sponsor
basketball4ever




PostPosted: Fri Jan 28, 2005 12:28 am   Post subject: (No subject)

i was taught to do turing animations with for loops... is there any other way...?
Cervantes




PostPosted: Fri Jan 28, 2005 7:19 am   Post subject: (No subject)

If by for loops you mean for loops inside of a main loop, that's bad.
What you want to do is have a bunch of pictures that you can flip through. Each time through the main loop (or you could have it based on time), add one to the counter (and if the counter is more than the max number of pictures, set it back to one). Draw the picture associated with that counter number.
person




PostPosted: Fri Jan 28, 2005 10:57 am   Post subject: (No subject)

by "for loops" he means counting loops
cycro1234




PostPosted: Fri Jan 28, 2005 12:02 pm   Post subject: (No subject)

That's why u add the "counter" variable that increases by 1 each time the loop runs.
basketball4ever




PostPosted: Fri Jan 28, 2005 3:38 pm   Post subject: (No subject)

well i figured the normal loops out already quite a while ago... but i was owondering if turing has functions that can do animations without loops

since it cant load gif files... is there a way?
Cervantes




PostPosted: Fri Jan 28, 2005 4:30 pm   Post subject: (No subject)

Turing 4.0.x can't, as far as I know. Perhaps sprites from pre-Turing 4 could do it; I don't know, I've never used them. Perhaps DanSprite could do it, but again, I don't really know. Confused
There is no reason why you shouldn't be able to use loops for your animation. Why don't you want to?
Bacchus




PostPosted: Fri Jan 28, 2005 4:38 pm   Post subject: (No subject)

and turing Can load .gif, theres even a tutorial on it Smile
Sponsor
Sponsor
Sponsor
sponsor
person




PostPosted: Fri Jan 28, 2005 4:46 pm   Post subject: (No subject)

he cant use it until June 2004. check F10
cycro1234




PostPosted: Fri Jan 28, 2005 4:48 pm   Post subject: (No subject)

June 2004???? We're in 2005 already, if u didn't know..Smile
person




PostPosted: Fri Jan 28, 2005 4:49 pm   Post subject: (No subject)

i know its 2005 but it still doesnt work
basketball4ever




PostPosted: Fri Jan 28, 2005 4:50 pm   Post subject: (No subject)

person wrote:
i know its 2005 but it still doesnt work


then a question for you: then y did you even post that last message??? you should really think before you post
cycro1234




PostPosted: Fri Jan 28, 2005 4:54 pm   Post subject: (No subject)

There was a whole discussion on how Holt Soft didn't buy the license to use some pictures.
Bacchus




PostPosted: Fri Jan 28, 2005 4:56 pm   Post subject: (No subject)

yes i kno holtsoft doesnt allow the .gif.. but there is a tutorial so im guessing some ppl got it to work. now quit arguing and quit spamming
MysticVegeta




PostPosted: Fri Jan 28, 2005 7:14 pm   Post subject: (No subject)

http://www.compsci.ca/v2/viewtopic.php?t=4637&highlight=irfanview
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 2  [ 22 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: