Adds toggle to disable Solly's text animation

This commit is contained in:
GManon 2023-05-23 07:49:54 -03:00
parent dd3f40b206
commit 59310b40b2
5 changed files with 78 additions and 53 deletions

View File

@ -915,15 +915,14 @@ screen preferences():
vbox:
hbox:
spacing 5
box_wrap True
if renpy.variant("pc") or renpy.variant("web"):
vbox:
style_prefix "radio"
label _("Display")
textbutton _("Window") activate_sound "audio/ui/snd_ui_option_on.wav" action Preference("display", "any window")
textbutton _("Fullscreen") activate_sound "audio/ui/snd_ui_option_on.wav" action Preference("display", "fullscreen")
vbox:
style_prefix "radio"
label _("Display")
textbutton _("Window") activate_sound "audio/ui/snd_ui_option_on.wav" action Preference("display", "any window")
textbutton _("Fullscreen") activate_sound "audio/ui/snd_ui_option_on.wav" action Preference("display", "fullscreen")
vbox:
style_prefix "radio"
@ -958,7 +957,7 @@ screen preferences():
style_prefix "check"
label _("Requires Restart")
textbutton _("Enable Forward-Scroll Movement") action [Function(onclick_audio, persistent.scroll), ToggleVariable("persistent.scroll", True, False)]
textbutton _("Disable Coach's screaming animation.") action [Function(onclick_audio, persistent.shout_no_ATL), ToggleVariable("persistent.shout_no_ATL", True, False)]
vbox:
style_prefix "check"
label _("Skip")
@ -1865,7 +1864,11 @@ screen preferences():
textbutton _("Unseen Text") action [Function(onclick_audio, preferences.skip_unseen), ToggleVariable("preferences.skip_unseen", True, False)]
textbutton _("After Choices") action [Function(onclick_audio, preferences.skip_after_choices), ToggleVariable("preferences.skip_after_choices", True, False)]
textbutton _("Transitions") action [Function(onclick_audio, preferences.transitions, True), ToggleVariable("preferences.transitions", 0, 2)]
hbox:
vbox:
style_prefix "check"
label _("Performance (Requires Restart)")
textbutton _("Disable Coach's screaming animation.") action [Function(onclick_audio, persistent.shout_no_ATL), ToggleVariable("persistent.shout_no_ATL", True, False)]
hbox:
style_prefix "slider"

View File

@ -827,49 +827,59 @@ transform gym_shaker_hit(x=0.0, y=0.0):
# ATL TEXT TAG TRANSFORMS
#
default persistent.shout_no_ATL = False
init python:
if persistent.shout_no_ATL:
shout_mult = 0
shout_pause = 100 # To avoid the lag we wait 100 seconds per 'change' even if there's no visible change
else:
shout_mult = 1
shout_pause = 0
# Shouting
transform sh:
subpixel True
yoffset -1 xoffset -2
pause 0
yoffset 1 xoffset 1
pause 0
yoffset 2 xoffset 0
pause 0
yoffset 0 xoffset 1
pause 0
yoffset 0 xoffset -2
pause 0
yoffset -2 xoffset 0
pause 0
yoffset -0.5 xoffset 2
pause 0
yoffset 2.5 xoffset -0.5
pause 0
yoffset -1 xoffset -1
pause 0
yoffset 0 xoffset 0.5
pause 0
yoffset -1 xoffset -1.5
pause 0
yoffset 1 xoffset 1
pause 0
yoffset 1.5 xoffset 0
pause 0
yoffset 0 xoffset 2.5
pause 0
yoffset -0.5 xoffset -2
pause 0
yoffset -1.5 xoffset 0
pause 0
yoffset -0.5 xoffset 2
pause 0
yoffset 0 xoffset -2
pause 0
yoffset -1 xoffset -0.5
pause 0
yoffset 0 xoffset 0.5
pause 0
yoffset -1*shout_mult xoffset -2*shout_mult
pause shout_pause
yoffset 1*shout_mult xoffset 1*shout_mult
pause shout_pause
yoffset 2*shout_mult xoffset 0*shout_mult
pause shout_pause
yoffset 0*shout_mult xoffset 1*shout_mult
pause shout_pause
yoffset 0*shout_mult xoffset -2*shout_mult
pause shout_pause
yoffset -2*shout_mult xoffset 0*shout_mult
pause shout_pause
yoffset -0.5*shout_mult xoffset 2*shout_mult
pause shout_pause
yoffset 2.5*shout_mult xoffset -0.5*shout_mult
pause shout_pause
yoffset -1*shout_mult xoffset -1*shout_mult
pause shout_pause
yoffset 0*shout_mult xoffset 0.5*shout_mult
pause shout_pause
yoffset -1*shout_mult xoffset -1.5*shout_mult
pause shout_pause
yoffset 1*shout_mult xoffset 1*shout_mult
pause shout_pause
yoffset 1.5*shout_mult xoffset 0*shout_mult
pause shout_pause
yoffset 0*shout_mult xoffset 2.5*shout_mult
pause shout_pause
yoffset -0.5*shout_mult xoffset -2*shout_mult
pause shout_pause
yoffset -1.5*shout_mult xoffset 0*shout_mult
pause shout_pause
yoffset -0.5*shout_mult xoffset 2*shout_mult
pause shout_pause
yoffset 0*shout_mult xoffset -2*shout_mult
pause shout_pause
yoffset -1*shout_mult xoffset -0.5*shout_mult
pause shout_pause
yoffset 0*shout_mult xoffset 0.5*shout_mult
pause shout_pause
repeat

View File

@ -441,3 +441,15 @@ translate es strings:
old "Mods"
new "Mods"
# TODO: Translation updated at 2023-05-23 06:52
translate es strings:
# game/screens.rpy:961
old "Disable Coach's screaming animation."
new "Deshablitar animación del texto del entrenador."
# game/screens.rpy:1871
old "Performance (Requires Restart)"
new "Rendimiento (Requiere Renicio)"

View File

@ -2494,7 +2494,7 @@ translate es chapter_1_5348a962:
translate es chapter_1_2df41c08:
# Coach "{atl=sh}NOW THEN, SINCE IT'S ONLY THE FIRST DAY OF SCHOOL, HOW ABOUT WE HAVE \nOURSELVES A GOOD OLD GAME OF DODGEBALL!?{/atl}"
Coach "{atl=sh}BUENO, YA QUE ES EL PRIMER DÍA DE CLASE, ¿¡QUÉ TAL SI \nJUGAMOS UN VIEJO PARTIDO DE QUEMADOS!?{/atl}"
Coach "{atl=sh}BUENO, YA QUE ES EL PRIMER DÍA DE CLASE, ¿¡QUÉ TAL SI JUGAMOS UN VIEJO\nPARTIDO DE QUEMADOS!?{/atl}"
# game/script/1-Anons-Cousin-goes-to-CalArts.rpy:1946
translate es chapter_1_7971dbb0:

View File

@ -1954,7 +1954,7 @@ translate es chapter_3_26f57d03:
translate es chapter_3_3878589a:
# "As soon as he'd said the word, Olivia's hand had shot up."
"Tan pronto como hubo dicho la palabra, Olivia disparó la mano hacia arriba."
"En cuanto dijo la palabra, la mano de Olivia se alzó con emoción."
# game/script/3-Canvas-of-Opportunity.rpy:1288
translate es chapter_3_8dadb86b:
@ -1966,7 +1966,7 @@ translate es chapter_3_8dadb86b:
translate es chapter_3_97c7418b:
# "The girl practically vibrates in her seat as she waves her arm in the air trying to get the teacher's attention."
"La chica prácticamente vibra en su asiento mientras agitaba su brazo en el aire tratando de llamar la atención del profesor."
"La chica prácticamente vibra en su asiento mientras agita su brazo en el aire tratando de llamar la atención del profesor."
# game/script/3-Canvas-of-Opportunity.rpy:1295
translate es chapter_3_89f5a250:
@ -2080,7 +2080,7 @@ translate es chapter_3_ade9b0ac:
translate es chapter_3_9ee9ccb1:
# "That thrill of experimentation, of new possibilities{cps=5}...{/cps}"
"Esa emoción de experimentar, de nuevas posibilidades{cps=5}...{/cps}"
"Esa emoción de la experimentación; de nuevas posibilidades{cps=5}...{/cps}"
# game/script/3-Canvas-of-Opportunity.rpy:1383
translate es chapter_3_dc297be7: