WTS/game/scripts/animations/common.rpy
LoafyLemon 1d25e458f5 Bug Fixes
* Fixed decoration menu page swap arrow position
* Fixed room and title screen animations restarting with every interaction
2022-12-22 23:40:40 +00:00

435 lines
9.8 KiB
Plaintext

# Common image definitions
image blank:
Null()
image heal:
"images/magic/heal01.webp"
pause.06
"images/magic/heal02.webp"
pause.06
"images/magic/heal03.webp"
pause.06
"images/magic/heal04.webp"
pause.06
"images/magic/heal05.webp"
pause.06
"images/magic/heal06.webp"
pause.06
"images/magic/heal07.webp"
pause.06
"images/magic/heal08.webp"
pause.06
"images/magic/heal09.webp"
pause.06
"images/magic/heal10.webp"
pause.06
"images/magic/heal11.webp"
pause.06
"images/magic/heal12.webp"
pause.06
"images/magic/heal13.webp"
pause.06
"images/magic/heal14.webp"
pause.06
"images/magic/heal15.webp"
pause.06
"images/magic/heal16.webp"
pause.06
"images/magic/heal17.webp"
pause.06
"images/magic/heal18.webp"
pause.06
image love_heart:
"images/magic/love09.webp"
pause.06
"images/magic/love10.webp"
pause.06
"images/magic/love11.webp"
pause.06
"images/magic/love12.webp"
pause.06
"images/magic/love13.webp"
pause.06
"images/magic/love14.webp"
pause.06
"images/magic/love15.webp"
image ctc:
contains:
pos (0.99, 0.995)
anchor (0.8, 1.0)
"interface/ctc00.webp"
contains:
pos (0.99, 0.995)
anchor (0.8, 1.0)
"interface/ctc01.webp"
pause 5.0
linear 1.0 alpha 0.0
linear 1.0 alpha 1.0
repeat
# Emotions ^_^
image emo01:
"characters/emotes/animated/ex01.webp"
pause.5
"characters/emotes/animated/ex02.webp"
pause.5
"characters/emotes/animated/ex03.webp"
pause.5
"characters/emotes/animated/ex04.webp"
pause 1
"characters/emotes/animated/ex01.webp"
pause.5
"characters/emotes/animated/ex00.webp"
repeat
image emo02:
"characters/emotes/animated/exl01.webp"
pause.5
"characters/emotes/animated/exl02.webp"
pause.5
"characters/emotes/animated/exl03.webp"
pause.5
"characters/emotes/animated/exl04.webp"
pause.5
"characters/emotes/animated/exl05.webp"
pause.5
"characters/emotes/animated/exl06.webp"
repeat
image emo03:
"characters/emotes/animated/sad_01.webp"
pause.4
"characters/emotes/animated/sad_02.webp"
pause.4
"characters/emotes/animated/sad_03.webp"
pause.4
"characters/emotes/animated/sad_04.webp"
pause.4
"characters/emotes/animated/sad_03.webp"
pause.4
"characters/emotes/animated/sad_02.webp"
pause.4
repeat
image emo04:
"characters/emotes/animated/hoot_01.webp"
pause.4
"characters/emotes/animated/hoot_02.webp"
pause.4
"characters/emotes/animated/hoot_03.webp"
pause.4
"characters/emotes/animated/hoot_04.webp"
pause.4
"characters/emotes/animated/hoot_05.webp"
pause.4
"characters/emotes/animated/hoot_06.webp"
pause.4
"characters/emotes/animated/hoot_07.webp"
pause.4
repeat
image emoq:
"characters/emotes/animated/q1.webp"
pause.5
"characters/emotes/animated/q2.webp"
pause.5
"characters/emotes/animated/q3.webp"
pause.5
"characters/emotes/animated/q4.webp"
pause.5
"characters/emotes/animated/q1.webp"
pause.5
"characters/emotes/animated/q2.webp"
pause.5
"characters/emotes/animated/q3.webp"
pause.5
"characters/emotes/animated/q4.webp"
repeat
image emom:
"characters/emotes/animated/emo00.webp"
pause.08
"characters/emotes/animated/emo01.webp"
image excl:
"characters/emotes/animated/excl01.webp"
pause.5
"characters/emotes/animated/excl02.webp"
pause.5
"characters/emotes/animated/excl03.webp"
pause.5
"characters/emotes/animated/excl04.webp"
pause.5
repeat
image qu:
"characters/emotes/animated/que1.webp"
pause.5
"characters/emotes/animated/que2.webp"
pause.5
"characters/emotes/animated/que3.webp"
pause.5
"characters/emotes/animated/que4.webp"
pause.5
"characters/emotes/animated/que5.webp"
pause.5
"characters/emotes/animated/que6.webp"
repeat
image an:
"characters/emotes/animated/an1.webp"
pause.2
"characters/emotes/animated/an2.webp"
pause.2
"characters/emotes/animated/an3.webp"
pause.2
"characters/emotes/animated/an2.webp"
pause.2
repeat
image sal:
"characters/emotes/animated/s1.webp"
pause.08
"characters/emotes/animated/s2.webp"
pause.2
"characters/emotes/animated/s3.webp"
pause.08
"characters/emotes/animated/s4.webp"
pause.2
"characters/emotes/animated/s5.webp"
pause.08
"characters/emotes/animated/s6.webp"
pause 1
"characters/emotes/animated/00.webp"
pause.08
repeat
image th:
"characters/emotes/animated/t1.webp"
pause.2
"characters/emotes/animated/t2.webp"
pause.2
"characters/emotes/animated/t3.webp"
pause.2
"characters/emotes/animated/t4.webp"
pause.2
repeat
image emo7:
"characters/emotes/animated/emotion00.webp"
pause.5
"characters/emotes/animated/emotion01.webp"
pause.5
"characters/emotes/animated/emotion00.webp"
pause.7
"characters/emotes/animated/emotion01.webp"
pause.7
"characters/emotes/animated/emotion00.webp"
pause.6
"characters/emotes/animated/emotion01.webp"
pause.6
repeat
image emo8:
"characters/emotes/animated/emotion00.webp"
pause.7
"characters/emotes/animated/emotion03.webp"
pause.7
"characters/emotes/animated/emotion00.webp"
pause.6
"characters/emotes/animated/emotion03.webp"
pause.6
"characters/emotes/animated/emotion00.webp"
pause.5
"characters/emotes/animated/emotion03.webp"
pause.5
repeat
image sur:
"characters/emotes/animated/sur1.webp"
pause.5
"characters/emotes/animated/sur2.webp"
pause.5
"characters/emotes/animated/sur3.webp"
pause.5
"characters/emotes/animated/sur4.webp"
pause.5
"characters/emotes/animated/sur5.webp"
pause.5
"characters/emotes/animated/sur6.webp"
pause.5
repeat
# Main title background animation
image title_ani:
contains:
animation
zoom 0.5
"images/title/00.webp"
pause 3
"images/title/01.webp"
pause.1
"images/title/02.webp"
pause.1
"images/title/01.webp"
pause.1
"images/title/00.webp"
pause 6
"images/title/01.webp"
pause.1
"images/title/02b.webp"
pause.1
"images/title/01b.webp"
pause.1
"images/title/00b.webp"
pause 3
"images/title/01b.webp"
pause.1
"images/title/02b.webp"
pause.1
"images/title/01b.webp"
pause.1
"images/title/00b.webp"
pause 6
"images/title/01b.webp"
pause.1
"images/title/02b.webp"
pause.1
"images/title/02.webp"
pause.1
"images/title/01.webp"
pause.1
repeat
contains:
xalign 1.0
zoom 0.9
ypos 12
xoffset -2
"images/logo/title.webp"
contains:
xpos -17
ypos -151
zoom 2.0
"candle_fire_01"
contains:
animation
xpos -255
ypos 100
zoom 0.8
"images/title/fire00.webp"
pause.1
"images/title/fire01.webp"
pause.1
"images/title/fire02.webp"
pause.1
"images/title/fire03.webp"
pause.1
"images/title/fire04.webp"
pause.1
"images/title/fire05.webp"
pause.1
"images/title/fire06.webp"
pause.1
"images/title/fire07.webp"
pause.1
repeat
#sparkle
contains:
animation
xpos 798
ypos 200
xanchor 0.5
yanchor 0.5
zoom 0.0
"images/title/sparkle.webp"
linear 0.8 zoom 1.0
linear 0.5 zoom 0.0
pause 5
repeat
#shine silver (synchronized)
contains:
animation
xpos 848
ypos 230
xanchor 0.5
yanchor 0.5
zoom 0.0
"images/title/sparkle.webp"
pause 1.3
linear 0.5 zoom 1.0
linear 0.5 zoom 0.0
xpos 870
ypos 205
linear 0.5 zoom 1.0
linear 0.5 zoom 0.0
xpos 914
ypos 227
linear 0.5 zoom 1.0
linear 0.5 zoom 0.0
xpos 948
ypos 233
linear 0.5 zoom 1.0
linear 0.5 zoom 0.0
xpos 999
ypos 226
linear 0.5 zoom 1.0
linear 0.5 zoom 0.0
pause 12.6
repeat
# Other game menu background
image menu_ani:
contains:
zoom 0.5
"images/title/00b.webp"
contains:
alpha 0.8
"#000"
# Transitions
init offset = -1
define d1 = Dissolve(0.1)
define d2 = Dissolve(0.2)
define d3 = Dissolve(0.3)
define d4 = Dissolve(0.4)
define d5 = Dissolve(0.5)
define d6 = Dissolve(0.6)
define d7 = Dissolve(0.7)
define d8 = Dissolve(0.8)
define d9 = Dissolve(0.9)
define f1 = Fade(0.1, 0.0, 0.1)
define f2 = Fade(0.2, 0.0, 0.2)
define f3 = Fade(0.3, 0.0, 0.3)
define flash = Fade(0.1, 0.0, 0.5, color="#fff")
define flashbulb = Fade(0.2, 0.0, 0.8, color='#fff')
define flashbb = Fade(0.2, 0.0, 0.8, color='#000')
define flashblood = Fade(0.2, 0.0, 0.8, color='#f02424')
define kissiris = Fade(0.2, 0.0, 0.8, color='#fb8dc8')
define black_magic = Fade(0.2, 0.0, 0.5, color='#7f3590')
define blackfade = Fade(0.9, 0.5, 1, color='#000000')
define morph = ComposeTransition(Dissolve(0.9), before=Fade(0.1, 0.5, 0.5, color="#fff"), after=Dissolve(0.5))
define teleport = ImageDissolve("id_teleport.webp", 1.0, 0)
define vpunch_repeat = Move((0, 10), (0, -10), .5, bounce=True, repeat=True, delay=4.5)
define faderight = ImageDissolve("interface/transitions/faderight.webp", 1.0)
define fadeleft = ImageDissolve("interface/transitions/faderight.webp", 1.0, reverse=True)