forked from Cavemanon/SnootGame
music changes to some ch1 scenes, add another music channel for crossfade effect
This commit is contained in:
@ -23,8 +23,11 @@ init python:
|
||||
picked = random.randint(0,length - 1)
|
||||
fileName = files[picked]
|
||||
renpy.show(fileName, at_list=[randPosition])
|
||||
# extra music channel so we can do crossfade instead of fadeout followed by fadein
|
||||
renpy.music.register_channel("music1","sfx",True,tight=True)
|
||||
# allows playing looped ambience alongside music
|
||||
renpy.music.register_channel("ambient","sfx",True,tight=True)
|
||||
renpy.music.register_channel("ambient1","sfx",True,tight=True)
|
||||
#for issue #13 not finalized
|
||||
#if persistent.scroll == True:
|
||||
# config.keymap['dismiss'].append('mousedown_5')
|
||||
|
Reference in New Issue
Block a user