forked from Cavemanon/SnootGame
channeld
This commit is contained in:
Binary file not shown.
@ -42,16 +42,18 @@ define build.name = "SnootGame"
|
|||||||
|
|
||||||
## Sounds and music ############################################################
|
## 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
|
## These three variables control which mixers are shown to the player by
|
||||||
## default. Setting one of these to False will hide the appropriate mixer.
|
## default. Setting one of these to False will hide the appropriate mixer.
|
||||||
|
|
||||||
define config.has_sound = True
|
define config.has_sound = True
|
||||||
define config.has_music = 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,
|
## To allow the user to play a test sound on the sound or voice channel,
|
||||||
|
Reference in New Issue
Block a user