Working with the Sequence Replicator behavior
Just as we customized text animation using a Sequence Text behavior, we can animate replicators using a Sequence Replicator behavior.
From the exercise files of this chapter, double-click on the 08_03
project. The project consists of a bokeh.png
file from Motion's Library that has been replicated on a line. We're going to add a Sequence Replicator behavior to animate the circles onscreen.
- Select the replicator and press Command + 2 to go to the Library. Under Behaviors navigate to Replicator | Sequence Replicator, as shown in the following screenshot. Choose Apply. If you play back the project, you'll notice that nothing has changed. We'll need to add properties in the Behaviors tab of the Inspector to animate it.
- Press the F2 key to move to the Behaviors tab of the Inspector. Add the Scale and Rotation parameters. Change the value of Scale to 0 and Rotation to 360. Play back the project. The circles start at their original size value and scale down to 0 while rotating 360 degrees over the length of the project.
- Change the value of Sequencing from From to To, the Traversal to Ease In/Out, and the Spread to 20.
- Select Sequence Replicator in the Layers tab and move to 5 seconds in the Timeline. Press the O key to trim the behavior's out-point to 5 seconds. Press Command + Option + O to trim the play range as well. Play back your project.
- The Sequence Text recipe in Chapter 5, Let's Make Text
- The Creating a replicator and changing parameters in the HUD recipe
- The Tweaking replicator parameters in the Inspector recipe