Let's do the Time Loop Again

Renaming the files inside Synfig didn’t seem to work so I renamed the original files and re-imported and that worked!! YAY! Here is my interpretation of what to do. Maybe, with your corrections, it can help others.

Importing Image Sequences for Looping

  1. Be sure that your images are numbered from beginning to end, beginning with X01.png etc.
  2. Import images into Synfig using File > Import Sequence. Highlight all the files you want imported. They will load inside a folder.
  3. Rename this folder to the topic, e.g.: X01.png > Dance.
  4. Create a Time Loop Layer: Layer > New Layer > Time > Time Loop.
  5. Group the Time Loop Layer and image folder in the Layers window (Ctrl + click the two items > click the green folder at the bottom) > rename the green folder to the topic. Be sure the Time Loop layer is above the file folder.
  6. Set Time Loop parameters (Synfig 1.4):
  • z Depth: 0.0
  • Link Time: 0.0
  • Local Time: 500f (the point at which you want the animation to begin)
  • Duration: 15f (the number of images inside your image folder)
  • Only for Positive Duration: Rt-Click > select Allow Animation
  • Symmetrical: Rt-Click > select Allow Animation
  1. Set the container folder to Opacity: 0.0 until you want the animation to appear, at which time change opacity to 1.0.

Thanks again for your patience.

1 Like

I’m glad you accomplished :slight_smile:

Some doubts:

Why do you want to animate these parameters? Will you change their values along time?

Well, I think you didn’t get yet how “Import sequence” exactly works (actually, de Switch group layer) Captura de tela de 2021-01-17 19-02-14 , but you did it fine on the end :slight_smile:

The “import sequence” action creates a Switch Group Layer whose contents are all the selected/imported images (in your step 2), each one as a Import/Bitmap layer Captura de tela de 2021-01-17 19-02-08.

Captura de tela de 2021-01-17 19-01-55

Unlike Group layer Captura de tela de 2021-01-18 03-45-28 , the Switch Group Layer only renders one of its child layers (i.e., one of its contents) at a time. What child layer is shown in a given time is defined by the layer name set in Active Layer Name parameter or (if this parameter value is an empty text) by the index number set in parameter “Active Layer Depth”.

So, when you “Import sequence”, besides creating this Switch Group layer and its children, it already auto-animates the values of Active Layer Name parameter of the Switch layer :slight_smile:

Captura de tela de 2021-01-17 19-02-27

I hope I have clarified it a bit.

2 Likes

Why do you want to animate these parameters? Will you change their values along time?

What I’m hearing is don’t do anything with these unless I plan to animate them. I think I’m understanding switch layer too. Thanks!

1 Like