Code: Select all
screen select_music():
modal True
add "music_overlay"
add "pause_noclick"
add "play_noclick"
add "noMusic"
textbutton _("{size=38}Return{/size}") action [ Hide(screen="select_music"), Hide(screen="menu_bg", transition=Dissolve(0.75)) ] xpos 40 ypos 670:
hover_sound "gui/sfx/hover.ogg"
activate_sound "gui/sfx/select.ogg"
textbutton _("{size=30}Your Reality{/size} {size=20}Jillian Ashcraft{/size}") action [ Play('music', 'bgm/credits.ogg'), SetVariable("nopause_click", (False)), SetVariable("noplay_click", (True)), SetVariable("noMusic", (True)) ] xpos 450 ypos 30:
hover_sound "gui/sfx/hover.ogg"
activate_sound "gui/sfx/select.ogg"
textbutton _("{size=30}The Crush Song{/size} {size=20}Twaimz{/size}") action [ Play('music', 'playlist/Meme - The crush song.mp3'), SetVariable("nopause_click", (False)), SetVariable("noplay_click", (True)), SetVariable("noMusic", (True)) ] xpos 475 ypos 65:
hover_sound "gui/sfx/hover.ogg"
activate_sound "gui/sfx/select.ogg" #Supposed to be a .m4a file but ren'py does not support .m4a music files :(
textbutton _("{size=30}Doki Doki Forever Instrumental{/size} {size=20}Rachie, Or3o, Chi Chi,\n Kathy-chan{/size}") action [ Play('music', 'playlist/ddfin.ogg'), SetVariable("nopause_click", (False)), SetVariable("noplay_click", (True)), SetVariable("noMusic", (True)) ] xpos 280 ypos 100:
hover_sound "gui/sfx/hover.ogg"
activate_sound "gui/sfx/select.ogg"
textbutton _("{size=30}...{/size}") action [ Hide(screen="select_music"), Show(screen="select_music2") ] xpos 620 ypos 140:
hover_sound "gui/sfx/hover.ogg"
activate_sound "gui/sfx/select.ogg"
if nopause_click == False:
textbutton _("{size=40}Pause{/size}") action [ PauseAudio('music', value=True), SetVariable("nopause_click", (True)), SetVariable("noplay_click", (False)) ] xpos 480 ypos 435:
hover_sound "gui/sfx/hover.ogg"
activate_sound "gui/sfx/select.ogg"
if noplay_click == False:
textbutton _("{size=40}Play{/size}") action [ PauseAudio('music', value=False), SetVariable("noplay_click", (True)), SetVariable("nopause_click", (False)) ] xpos 690 ypos 435:
hover_sound "gui/sfx/hover.ogg"
activate_sound "gui/sfx/select.ogg"
if noMusic == True:
textbutton _("{size=30}No Music{/size}") action [ Stop('music', fadeout=1.0), SetVariable("nopause_click", (True)), SetVariable("noplay_click", (True)), SetVariable("noMusic", (False)) ] xpos 40 ypos 630:
hover_sound "gui/sfx/hover.ogg"
activate_sound "gui/sfx/select.ogg"
null height (4 * gui.pref_spacing)
hbox:
style_prefix "slider"
box_wrap True
vbox:
if volume.bar_musicsec == True:
label _("Music Volume") xpos 480 ypos 435
hbox:
bar value Preference("music volume") xpos 480 ypos 435
screen select_music2():
modal True
add "music_overlay"
add "pause_noclick"
add "play_noclick"
add "noMusic"
textbutton _("{size=38}Return{/size}") action [ Hide(screen="select_music2"), Hide(screen="menu_bg", transition=Dissolve(0.75)) ] xpos 40 ypos 670:
hover_sound "gui/sfx/hover.ogg"
activate_sound "gui/sfx/select.ogg"
textbutton _("{size=30}Your Reality Remix{/size} {size=20}Mirai ft. Jillian Ashcraft{/size}") action [ Play('music', 'playlist/yrmirai.mp3'), SetVariable("nopause_click", (False)), SetVariable("noplay_click", (True)), SetVariable("noMusic", (True)) ] xpos 360 ypos 30:
hover_sound "gui/sfx/hover.ogg"
activate_sound "gui/sfx/select.ogg"
textbutton _("{size=30}Doki Doki and Sayonara Mix{/size} {size=20}Mod Creator{/size}") action [ Play('music', 'playlist/sdd.mp3'), SetVariable("nopause_click", (False)), SetVariable("noplay_click", (True)), SetVariable("noMusic", (True)) ] xpos 355 ypos 65:
hover_sound "gui/sfx/hover.ogg"
activate_sound "gui/sfx/select.ogg"
textbutton _("{size=30}Unknown{/size} {size=20}Unknown{/size}") action [ Play('music', 'bgm/d.ogg'), SetVariable("nopause_click", (False)), SetVariable("noplay_click", (True)), SetVariable("noMusic", (True)) ] xpos 515 ypos 100:
hover_sound "gui/sfx/hover.ogg"
activate_sound "gui/sfx/select.ogg"
textbutton _("{size=30}...{/size}") action [ Hide(screen="select_music2"), Show(screen="select_music") ] xpos 620 ypos -20:
hover_sound "gui/sfx/hover.ogg"
activate_sound "gui/sfx/select.ogg"
if nopause_click == False:
textbutton _("{size=40}Pause{/size}") action [ PauseAudio('music', value=True), SetVariable("nopause_click", (True)), SetVariable("noplay_click", (False)) ] xpos 480 ypos 435:
hover_sound "gui/sfx/hover.ogg"
activate_sound "gui/sfx/select.ogg"
if noplay_click == False:
textbutton _("{size=40}Play{/size}") action [ PauseAudio('music', value=False), SetVariable("noplay_click", (True)), SetVariable("nopause_click", (False)) ] xpos 690 ypos 435:
hover_sound "gui/sfx/hover.ogg"
activate_sound "gui/sfx/select.ogg"
Code: Select all
if noMusic == True:
textbutton _("{size=30}No Music{/size}") action [ Stop('music', fadeout=1.0), SetVariable("nopause_click", (True)), SetVariable("noplay_click", (True)), SetVariable("noMusic", (False)) ] xpos 40 ypos 630:
hover_sound "gui/sfx/hover.ogg"
activate_sound "gui/sfx/select.ogg"
#textbutton _("{size=40}Pause{/size}") action PauseAudio('music', value=False):
#hover_sound "gui/sfx/hover.ogg"
#activate_sound "gui/sfx/select.ogg"
null height (4 * gui.pref_spacing)
hbox:
style_prefix "slider"
box_wrap True
vbox:
if volume.bar_musicsec == True:
label _("Music Volume") xpos 480 ypos 435
hbox:
bar value Preference("music volume") xpos 480 ypos 435