https://drive.google.com/file/d/1-zLpPW ... sp=sharing
In the video above I've changed my notify screen's background into an animation. It seems that if I call for the notify again, it doesn't repeat the animation.
The only time it does replay is if I go back to the main menu and load the game again.
Is there anyway I could get the animation to repeat? Any help is appreciated.
Here's my code, if anyone needs to see it:
script.rpy
Code: Select all
#Notify#
image notify_border:
xpos 0 ypos 0
"gui/notify/notify_1.png"
0.083
"gui/notify/notify_2.png"
0.083
"gui/notify/notify_3.png"
0.249
"gui/notify/notify_4.png"
0.083
"gui/notify/notify_5.png"
0.083
"gui/notify/notify_6.png"
0.083
"gui/notify/notify_7.png"
0.083
transform notify_fade_in:
alpha 0
pause 0.581
linear 0.01 alpha 1.0
screens.rpy
Code: Select all
screen notify(message):
zorder 100
style_prefix "notify"
frame at notify_appear:
text "[message!tq]" at notify_fade_in
timer 3.25 action Hide('notify')
transform notify_appear:
on show:
alpha 0
linear 0 alpha 1.0
on hide:
linear 0.5 alpha 0.0
style notify_frame is empty
style notify_text is gui_text
style notify_frame:
ypos gui.notify_ypos
xpos 755
background ("notify_border")
style notify_text:
properties gui.text_properties("notify")
font "gui/fonts/wigwag-bold.ttf"
xalign 0.5
ypos 180
xpos 200