Previous topicNext topic

Help With Iteration Movement from Top to Bottom

Questions, comments, feedback, etc.
Post Reply
VidEZ
Posts: 16
Joined: Sat Jan 16, 2021 8:03 pm

Help With Iteration Movement from Top to Bottom

Post by VidEZ »

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
Sadler
Posts: 1139
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: Help With Iteration Movement from Top to Bottom

Post by Sadler »

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.
Post Reply