Help With Iteration Movement from Top to Bottom

Fri Jan 22, 2021 2:52 am

Hi,
I am trying to make clouds scroll down from the top to the bottom.
What's strange is that the one cloud, or the starting cloud that gets iterated goes from top to bottom, but the iterated clouds move from bottom to top. I have links to the .magic file and the images in the project.

Any help would be appreciated.

Thanks!

https://magic-music.s3.amazonaws.com/MovingCloudz.magic

https://magic-music.s3.amazonaws.com/Castle-01.png
https://magic-music.s3.amazonaws.com/clouds-01.png
VidEZ
 
Posts: 14
Joined: Sat Jan 16, 2021 8:03 pm

Re: Help With Iteration Movement from Top to Bottom

Fri Jan 22, 2021 9:17 am

Your arithmetic is off. Trying work it out on paper can help.

As an example using these modifiers in this order: Scale(0.1), Offset(0.1), Increase (0), Wrap (2), Scale (-1). The # of each iteration will be 0, 1, 2 etc. so the value will be scaled and offset by 0*0.1+0.1, 1*0.1+0.1, 2*0.1+0.1 etc. which equals 0.1, 0.2 0.3 - these are the speed values that affect the increase modifier. After the Increase modifier your doing the same thing to all iterations - you don't have access to the Iteration# any more. Wrap, to limit the increase, and then scale by -1 to make everything go down.
Sadler
 
Posts: 780
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Return to General Discussion

© 2021 Color & Music, LLC • This web site is mobile-friendly