mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-02-02 06:46:34 +01:00
turn on linear fades to prevent mixing from getting out of wack
and fucking fix those volume defaults once and for all
This commit is contained in:
parent
934a0dc72a
commit
7612935547
3 changed files with 13 additions and 7 deletions
|
@ -135,9 +135,15 @@ default preferences.afm_time = 15
|
|||
|
||||
|
||||
## Disables loading all languages at once at startup, only loading a language when selecting a language
|
||||
|
||||
define config.defer_tl_scripts = True
|
||||
|
||||
|
||||
## Retains linear audio fading so mixing doesn't get fucked from the update to 8.2+
|
||||
|
||||
define config.linear_fades = True
|
||||
|
||||
|
||||
## Snoot-specific config variables
|
||||
|
||||
define config.developer = "auto"
|
||||
|
@ -163,8 +169,8 @@ init python:
|
|||
|
||||
##Default Audio is not ear rape
|
||||
define config.default_music_volume = 0.48
|
||||
define config.default_sfx_volume = 0.80
|
||||
define config.default_voice_volume = 0.80
|
||||
define config.default_sfx_volume = 0.8
|
||||
define config.default_voice_volume = 0.8
|
||||
|
||||
## Save directory ##############################################################
|
||||
##
|
||||
|
|
|
@ -975,7 +975,7 @@ screen preferences():
|
|||
hbox:
|
||||
bar value Preference("music volume") yalign 0.5
|
||||
textbutton _("Reset"):
|
||||
action Function(preferences.set_volume, 'music', config.default_music_volume)
|
||||
action Function(preferences.set_mixer, 'music', config.default_music_volume)
|
||||
|
||||
if config.has_sound:
|
||||
|
||||
|
@ -983,7 +983,7 @@ screen preferences():
|
|||
hbox:
|
||||
bar value Preference("sfx volume") yalign 0.5
|
||||
textbutton _("Reset"):
|
||||
action Function(preferences.set_volume, 'sfx', config.default_sfx_volume)
|
||||
action Function(preferences.set_mixer, 'sfx', config.default_sfx_volume)
|
||||
if config.sample_sound:
|
||||
textbutton _("Test") action Play("sound", config.sample_sound)
|
||||
|
||||
|
@ -992,7 +992,7 @@ screen preferences():
|
|||
bar value Preference("ui volume") yalign 0.5
|
||||
textbutton _("Reset"):
|
||||
yalign 0.5
|
||||
action Function(preferences.set_volume, 'ui', config.default_sfx_volume)
|
||||
action Function(preferences.set_mixer, 'ui', config.default_sfx_volume)
|
||||
|
||||
if config.has_voice:
|
||||
label _("Voice Volume")
|
||||
|
@ -1000,7 +1000,7 @@ screen preferences():
|
|||
bar value Preference("voice volume") yalign 0.5
|
||||
textbutton _("Reset"):
|
||||
yalign 0.5
|
||||
action Function(preferences.set_volume, 'voice', config.default_sfx_volume)
|
||||
action Function(preferences.set_mixer, 'voice', config.default_voice_volume)
|
||||
if config.sample_voice:
|
||||
textbutton _("Test") action Play("voice", config.sample_voice)
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ label before_main_menu:
|
|||
# Call initial language setup screen
|
||||
# languaged_up is set within lang_sel
|
||||
if (persistent.languaged_up is None):
|
||||
$ preferences.set_volume('ui', config.default_sfx_volume) # stank fucking workaround to fix a bug
|
||||
$ preferences.set_mixer("ui", config.default_sfx_volume)
|
||||
call screen lang_sel
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue