mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-03-26 11:54:49 +01:00
channeld
This commit is contained in:
parent
8ca825cda6
commit
665ee694ba
2 changed files with 7 additions and 5 deletions
Binary file not shown.
|
@ -42,16 +42,18 @@ define build.name = "SnootGame"
|
|||
|
||||
## Sounds and music ############################################################
|
||||
|
||||
##Custom Channels?
|
||||
init -1 python:
|
||||
renpy.music.register_channel("uisounds", "sfx", loop=False, stop_on_mute=True)
|
||||
|
||||
## These three variables control which mixers are shown to the player by
|
||||
## default. Setting one of these to False will hide the appropriate mixer.
|
||||
|
||||
define config.has_sound = True
|
||||
define config.has_music = True
|
||||
define config.has_voice = False
|
||||
define config.has_voice = True
|
||||
|
||||
define config.play_channel = "uisounds"
|
||||
|
||||
##Custom Channels?
|
||||
init -1 python:
|
||||
renpy.music.register_channel("uisounds", "voice", loop=False, stop_on_mute=True)
|
||||
|
||||
|
||||
## To allow the user to play a test sound on the sound or voice channel,
|
||||
|
|
Loading…
Add table
Reference in a new issue