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

Username:   Password: 
 RegisterRegister   
 animation
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
azadi




PostPosted: Thu May 24, 2012 6:33 am   Post subject: animation

hi, I want to have some animations in my program, clouds coming and going, sea waves, stars,.... each of the animations works well one by one but I can not make them work all together. just one of them works at the time. as I want each animation works forever, I wrote the code in forever loop, so as the first loop starts it never ends and the res of the prog won't run. what should I do to have all animations work together forever? i really appreciate your help.
Sponsor
Sponsor
Sponsor
sponsor
Dreadnought




PostPosted: Thu May 24, 2012 6:51 am   Post subject: Re: animation

Put them all in the same loop, making sure you draw them in the correct order.
turinggirl




PostPosted: Sun May 27, 2012 8:56 pm   Post subject: Re: animation

try using a for statement or put everything together in one loop
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: