Only repeat part of a transform ATL help [solved]
Posted: Thu Apr 02, 2020 7:03 pm
I can't seem to get only -part- of a transform to repeat. I am using Blocks, and only have the repeat on the part I want to loop... but it is still repeating the entire transform. I want a starting delay on the animation, but I only want the delay to happen once. I don't want the delay to happen on the second loop. I basically have 4 clouds & animations of "fog" and I am trying to make them move as naturally as possible
I am bad at ATL so any suggested changes would be appreciated but mainly I don't want the delay to repeat because I am trying to keep all 4 from starting at the same time and looking to symmetrical if that makes sense. Once they're all going it shouldn't be an issue after the initial delay?
This is just 1 of the fog ATLs. They are being shown within a screen as part of the main menu so that may limit what I can do a bit (I can't really use $ renpy.pause() there....?)
Code:
I am bad at ATL so any suggested changes would be appreciated but mainly I don't want the delay to repeat because I am trying to keep all 4 from starting at the same time and looking to symmetrical if that makes sense. Once they're all going it shouldn't be an issue after the initial delay?
This is just 1 of the fog ATLs. They are being shown within a screen as part of the main menu so that may limit what I can do a bit (I can't really use $ renpy.pause() there....?)
Code:
Code: Select all
transform fog_effect_2:
block:
## I don't want this block to repeat !
alpha 0.0
xoffset -1920
pause 1.0
block:
parallel:
#This just makes them fade in/out a bit
linear 1.5 alpha 0.15
linear 1.5 alpha 0.30
linear 1.5 alpha 0.15
repeat
parallel:
#This makes them move from one side to the other, and then back again (still tweaking this bit)
linear 2.0 xoffset -1500
linear 2.0 xoffset -1000
linear 2.0 xoffset -500
linear 2.0 xoffset 100
linear 2.0 xoffset 500
linear 2.0 xoffset 1000
linear 2.0 xoffset 1500
linear 2.0 xoffset 1920
linear 2.0 xoffset 1500
linear 2.0 xoffset 1000
linear 2.0 xoffset 500
linear 2.0 xoffset 100
linear 2.0 xoffset -500
linear 2.0 xoffset -1000
linear 2.0 xoffset -1500
linear 2.0 xoffset -1920
repeat