forked from Cavemanon/SnootGame
Merge branch 'choreo' of git.snootgame.xyz:Bowie/SnootGame into choreo
This commit is contained in:
@ -47,7 +47,7 @@ define build.name = "SnootGame"
|
|||||||
|
|
||||||
define config.has_sound = True
|
define config.has_sound = True
|
||||||
define config.has_music = True
|
define config.has_music = True
|
||||||
define config.has_voice = True
|
define config.has_voice = False
|
||||||
|
|
||||||
define config.play_channel = "uisounds"
|
define config.play_channel = "uisounds"
|
||||||
|
|
||||||
@ -133,8 +133,8 @@ default preferences.text_cps = 50
|
|||||||
default preferences.afm_time = 15
|
default preferences.afm_time = 15
|
||||||
|
|
||||||
##Default Audio is not ear rape
|
##Default Audio is not ear rape
|
||||||
define config.default_music_volume = 0.075
|
define config.default_music_volume = 0.55
|
||||||
define config.default_sfx_volume = 0.075
|
define config.default_sfx_volume = 0.90
|
||||||
|
|
||||||
## Save directory ##############################################################
|
## Save directory ##############################################################
|
||||||
##
|
##
|
||||||
|
@ -943,39 +943,40 @@ screen preferences():
|
|||||||
|
|
||||||
if config.has_music:
|
if config.has_music:
|
||||||
label _("Music Volume")
|
label _("Music Volume")
|
||||||
|
|
||||||
hbox:
|
hbox:
|
||||||
bar value Preference("music volume")
|
bar value Preference("music volume") yalign 0.5
|
||||||
|
textbutton _("Reset"):
|
||||||
if config.has_music:
|
action Function(preferences.set_volume, 'music', config.default_music_volume)
|
||||||
label _("UI Sounds Volume")
|
|
||||||
|
|
||||||
hbox:
|
|
||||||
bar value Preference("ui volume")
|
|
||||||
|
|
||||||
if config.has_sound:
|
if config.has_sound:
|
||||||
|
|
||||||
label _("Sound Volume")
|
label _("Sound Volume")
|
||||||
|
|
||||||
hbox:
|
hbox:
|
||||||
bar value Preference("sound volume")
|
bar value Preference("sfx volume") yalign 0.5
|
||||||
|
textbutton _("Reset"):
|
||||||
|
action Function(preferences.set_volume, 'sfx', config.default_sfx_volume)
|
||||||
if config.sample_sound:
|
if config.sample_sound:
|
||||||
textbutton _("Test") action Play("sound", config.sample_sound)
|
textbutton _("Test") action Play("sound", config.sample_sound)
|
||||||
|
|
||||||
|
label _("UI Sounds Volume")
|
||||||
|
hbox:
|
||||||
|
bar value Preference("ui volume") yalign 0.5
|
||||||
|
textbutton _("Reset"):
|
||||||
|
yalign 0.5
|
||||||
|
action Function(preferences.set_volume, 'ui', config.default_sfx_volume)
|
||||||
|
|
||||||
if config.has_voice:
|
if config.has_voice:
|
||||||
label _("Voice Volume")
|
label _("Voice Volume")
|
||||||
|
|
||||||
hbox:
|
hbox:
|
||||||
bar value Preference("voice volume")
|
bar value Preference("voice volume") yalign 0.5
|
||||||
|
textbutton _("Reset"):
|
||||||
|
yalign 0.5
|
||||||
|
action Function(preferences.set_volume, 'voice', config.default_sfx_volume)
|
||||||
if config.sample_voice:
|
if config.sample_voice:
|
||||||
textbutton _("Test") action Play("voice", config.sample_voice)
|
textbutton _("Test") action Play("voice", config.sample_voice)
|
||||||
|
|
||||||
if config.has_music or config.has_sound or config.has_voice or config.has_ui:
|
if config.has_music or config.has_sound or config.has_voice or config.has_ui:
|
||||||
null height gui.pref_spacing
|
null height gui.pref_spacing
|
||||||
|
|
||||||
textbutton _("Mute All"):
|
textbutton _("Mute All"):
|
||||||
action Preference("all mute", "toggle")
|
action Preference("all mute", "toggle")
|
||||||
style "mute_all_button"
|
style "mute_all_button"
|
||||||
|
Reference in New Issue
Block a user