animation
Author |
Message |
azadi
|
Posted: 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
|
|
|
Dreadnought
|
Posted: 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
|
Posted: Sun May 27, 2012 8:56 pm Post subject: Re: animation |
|
|
try using a for statement or put everything together in one loop |
|
|
|
|
|
|
|