Help with GIF code

Hi, I’ve checked every guide and I genuinely cannot figure out what’s wrong with my code… anyone have any ideas? It’s not animating at all, just stays opaque.

&overlay O0 create
&overlay O1 create
&overlay O2 create
&overlay O3 create
&overlay O4 create
&overlay O5 create
&overlay O6 create
&overlay O7 create
&overlay O8 create
&overlay O9 create

&overlay O0 moves to layer 1
&overlay O1 moves to layer 1
&overlay O2 moves to layer 1
&overlay O3 moves to layer 1
&overlay O4 moves to layer 1
&overlay O5 moves to layer 1
&overlay O6 moves to layer 1
&overlay O7 moves to layer 1
&overlay O8 moves to layer 1
&overlay O9 moves to layer 1

&overlay O0 shifts to -6 -123 in zone 1
&overlay O1 shifts to -6 -123 in zone 1
&overlay O2 shifts to -6 -123 in zone 1
&overlay O3 shifts to -6 -123 in zone 1
&overlay O4 shifts to -6 -123 in zone 1
&overlay O5 shifts to -6 -123 in zone 1
&overlay O6 shifts to -6 -123 in zone 1
&overlay O7 shifts to -6 -123 in zone 1
&overlay O8 shifts to -6 -123 in zone 1
&overlay O9 shifts to -6 -123 in zone 1

&overlay O0 scales to 2.512 2.512
&overlay O1 scales to 2.512 2.512
&overlay O2 scales to 2.512 2.512
&overlay O3 scales to 2.512 2.512
&overlay O4 scales to 2.512 2.512
&overlay O5 scales to 2.512 2.512
&overlay O6 scales to 2.512 2.512
&overlay O7 scales to 2.512 2.512
&overlay O8 scales to 2.512 2.512
&overlay O9 scales to 2.512 2.512

&overlay O0 opacity 1 in 0.1 THEN overlay O9 opacity 0 in 0 THEN overlay O1 opacity 1 in 0.1 THEN overlay O0 opacity 0 in 0 THEN overlay O2 opacity 1 in 0.1 THEN overlay O1 opacity 0 in 0 THEN overlay O3 opacity 1 in 0.1 THEN overlay O2 opacity 0 in 0 THEN overlay O4 opacity 1 in 0.1 THEN overlay O3 opacity 0 in 0 THEN overlay O5 opacity 1 in 0.1 THEN overlay O4 opacity 0 in 0 THEN overlay O6 opacity 1 in 0.1 THEN overlay O5 opacity 0 in 0 THEN overlay O7 opacity 1 in 0.1 THEN overlay O6 opacity 0 in 0 THEN overlay O8 opacity 1 in 0.1 THEN overlay O7 opacity 0 in 0 THEN overlay O9 opacity 1 in 0.1 THEN overlay O8 opacity 0 in 0 loop INFINITE times

Write out the overlays at an opacity of 0 at the start before the looping animation line and that should help it!

&overlay O0 opacity 0 in 0
&overlay O1 opacity 0 in 0
&overlay O2 opacity 0 in 0
&overlay O3 opacity 0 in 0
&overlay O4 opacity 0 in 0
&overlay O5 opacity 0 in 0
&overlay O6 opacity 0 in 0
&overlay O7 opacity 0 in 0
&overlay O8 opacity 0 in 0
&overlay O9 opacity 0 in 0

Also you’re using both the number 0 and the letter O in your first overlay. Not sure if that’s a typo or meant to be but thought I’d point it out on the off chance that’s part of the issue.

1 Like

Thank you, I tried it but still doesn’t seem to be working! :weary: It’s strange because I’ve managed to create a gif before so not sure what’s going wrong. I’ve even re-checked the frames to make sure the images are different.

And the letter O wasn’t a typo but I regret using it with a 0 as it’s confused me haha.

Yeah, I’m sure that style of code used to work but the last time I went to do a loop like that, it didn’t work. So I found a slightly different way of doing it that does work. Also, overlay commands are instant by default so you don’t need to put “in 0” at the end of them.

&overlay O0 opacity 1 then overlay O0 opacity 1 in 0.1 then overlay O0 opacity 0 then overlay O1 opacity 1 then overlay O1 opacity 1 in 0.1 then overlay O1 opacity 0 then overlay O2 opacity 1 then overlay O2 opacity 1 in 0.1 then overlay O2 opacity 0 then overlay O3 opacity 1 then overlay O3 opacity 1 in 0.1 then overlay O3 opacity 0 then overlay O4 opacity 1 then overlay O4 opacity 1 in 0.1 then overlay O4 opacity 0 then overlay O5 opacity 1 then overlay O5 opacity 1 in 0.1 then overlay O5 opacity 0 then overlay O6 opacity 1 then overlay O6 opacity 1 in 0.1 then overlay O6 opacity 0 then overlay O7 opacity 1 then overlay O7 opacity 1 in 0.1 then overlay O7 opacity 0 then overlay O8 opacity 1 then overlay O8 opacity 1 in 0.1 then overlay O8 opacity 0 then overlay O9 opacity 1 then overlay O9 opacity 1 in 0.1 then overlay O9 opacity 0 loop infinite times

1 Like

you just saved me so much stress u don’t even know …

1 Like