I'm trying to loop this 4 frame gif infinitely. Does anyone know what I'm doing wrong?

Hey everyone :blob_sun:,

I’m trying to get these 4 .pngs to loop infinitely but it’s not really working.

Here’s the script in the previewer (The error is just for the background that hasn’t been approved yet):

Here’s the copied script:
EXT. ITA GARDEN - DAY with SELFIE MALE 6 with FLOWER BED
&zoom reset
&cut to zone 3
&overlay SELFIE MALE 6 shifts to 314 -5 in zone 2
&overlay SELFIE MALE 6 scales to 1.018 1.018
&overlay 5471141678284800_FLOWER BED shifts to 258 -179 in zone 2
&overlay 5471141678284800_FLOWER BED scales to 1.936 1.936
&overlay SELFIE MALE 6 moves to layer 4 AND overlay FLOWER BED moves to layer 3
&overlay ITA FRAME1 create
&overlay ITA FRAME2 create
&overlay ITA FRAME3 create
&overlay ITA FRAME4 create
&overlay ITA FRAME1 shifts to 319 148 in zone 2
&overlay ITA FRAME1 scales to 2.422 2.422
&overlay ITA FRAME2 shifts to 319 148 in zone 2
&overlay ITA FRAME2 scales to 2.422 2.422
&overlay ITA FRAME3 shifts to 319 148 in zone 2
&overlay ITA FRAME3 scales to 2.422 2.422
&overlay ITA FRAME4 shifts to 319 148 in zone 2
&overlay ITA FRAME4 scales to 2.422 2.422
&overlay ITA FRAME1 moves to layer 2 AND overlay ITA FRAME2 moves to layer 2 AND overlay ITA FRAME3 moves to layer 2 AND overlay ITA FRAME4 moves to layer 2
@overlay ITA FRAME1 opacity 1 in 0 THEN overlay ITA FRAME1 opacity 1 in 0.1 THEN overlay ITA FRAME1 0 opacity 0 in 0 THEN overlay ITA FRAME2 opacity 1 in 0 THEN overlay ITA FRAME2 opacity 1 in 0.1 THEN overlay ITA FRAME2 0 opacity 0 in 0 THEN overlay ITA FRAME3 opacity 1 in 0 THEN overlay ITA FRAME3 opacity 1 in 0.1 THEN overlay ITA FRAME3 0 opacity 0 in 0 THEN overlay ITA FRAME4 opacity 1 in 0 THEN overlay ITA FRAME4 opacity 1 in 0.1 THEN overlay ITA FRAME4 0 opacity 0 in 0 loop INFINITE times

For the opacity, I’ve tried using @ and & but neither are working right

And finally, here’s what the gif is supposed to look like:
5a18867064f4c9d1fffe3500e83bc288

I’ve coded a gif before and tried to make it similar but it’s still not working. Any help you can offer me would be great!

What exactly is the issue?

You can try this order:

Screenshot


The difference is that I don’t have it looping because I didn’t want it looping. :blush:

Side note: All of my overlays are on the same layer and the only one set at opacity 1 to start with is the first overlay, the rest are set to opacity 0.

Also, you’ll need to have “&” instead of “@“ for the start of your looping command otherwise readers won’t be able to progress passed it.

1 Like

The images aren’t looping properly. They’re just stacking on top of each other.

Try using @ for the overlay positioning and & for the loop

I just tried it, but it’s still not doing it.

EXT. ITA GARDEN - DAY with SELFIE MALE 6 with FLOWER BED
&zoom reset
&cut to zone 3
&overlay SELFIE MALE 6 shifts to 314 -5 in zone 2
&overlay SELFIE MALE 6 scales to 1.018 1.018
&overlay 5471141678284800_FLOWER BED shifts to 258 -179 in zone 2
&overlay 5471141678284800_FLOWER BED scales to 1.936 1.936
@overlay SELFIE MALE 6 moves to layer 4 AND overlay FLOWER BED moves to layer 3
@overlay ITA FRAME1 create
@overlay ITA FRAME2 create
@overlay ITA FRAME3 create
@overlay ITA FRAME4 create
@overlay ITA FRAME1 shifts to 319 148 in zone 2
@overlay ITA FRAME1 scales to 2.422 2.422
@overlay ITA FRAME2 shifts to 319 148 in zone 2
@overlay ITA FRAME2 scales to 2.422 2.422
@overlay ITA FRAME3 shifts to 319 148 in zone 2
@overlay ITA FRAME3 scales to 2.422 2.422
@overlay ITA FRAME4 shifts to 319 148 in zone 2
@overlay ITA FRAME4 scales to 2.422 2.422

@overlay ITA FRAME1 moves to layer 2 AND overlay ITA FRAME2 moves to layer 2 AND overlay ITA FRAME3 moves to layer 2 AND overlay ITA FRAME4 moves to layer 2

&overlay ITA FRAME1 opacity 1 in 0 THEN overlay ITA FRAME1 opacity 1 in 0.1 THEN overlay ITA FRAME1 0 opacity 0 in 0 THEN overlay ITA FRAME2 opacity 1 in 0 THEN overlay ITA FRAME2 opacity 1 in 0.1 THEN overlay ITA FRAME2 0 opacity 0 in 0 THEN overlay ITA FRAME3 opacity 1 in 0 THEN overlay ITA FRAME3 opacity 1 in 0.1 THEN overlay ITA FRAME3 0 opacity 0 in 0 THEN overlay ITA FRAME4 opacity 1 in 0 THEN overlay ITA FRAME4 opacity 1 in 0.1 THEN overlay ITA FRAME4 0 opacity 0 in 0 loop INFINITE times

You can only have “THEN” in looping commands.

So sorry to tag you guys. I was looking at other posts that you were able to solve or help people with so I decided to give it a shot.
@Farah_DeSantis (I read your thread but that last portion is throwing me off a little lol)
@TristanArciera @stitch532 @Invisible_Waffle

If your gif has really only 4 frames then The system based on my post would be

FRAME1 opacity 1
FRAME4 opacity 0
FRAME2 opacity 1
FRAME1 opacity 0
FRAME3 opacity 1
FRAME2 opacity 0
FRAME4 opacity 1
FRAME3 opacity 0

Sorry I am on phone no so I better not write the whole code to not make typo.

But your code should be looping too … you just need to write the code for opacity 0 right… you have at every overly name an extra zero example:

ITA FRAME3 0 opacity 0 in 0

1 Like

Thank you so much! I removed the extra 0’s and it worked!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.