Code: Select all
transform slowmove:
linear 5 xalign 0.85 yalign 0.06
linear 4 xalign 0.83 yalign 0.08
linear 5 xalign 0.8 yalign 0.05 #back to initial position
repeat
#screen
default ami = "Talk"
screen ami_1:
zorder 5
vbox:
xalign 0.80
yalign 0.05
# xysize (250, 180)
showif ami=="Talk":
add "talk2.png":
size (420, 315)
showif ami == "madRush":
add "Rush_2.png":
size (450, 350)
... #continues to other conditions
label start:
show screen ami_1
ami "Now I talk"
$ami == "madRush" #Want to add a transform here
ami "Now I run"
I tried using $renpy.transition(slowmove) but it didn't do anything. I'm wondering if At() can be used here, like Function(At()) but the documentation says At() accepts only images?
Another idea is can I define image Talk = "talk2.png" and give it transform slowmove, and when I add it to the screen I add Talk and not the image?
Thanks for listening!