Hi all,
Can anyone tell me where I have to write a play music funktion, to play a music in loop in the mainmenu?
And in addition, how can I turn off the music, when I leave the mainmenu (start or load a game). I dont want to make a stop funktion in every single label.
Thanks for help
Main Menu Music / auto-off?
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: Main Menu Music / auto-off?
As far as I know you don't need to. Just go to the ## Sounds and music ## section of options.rpy and find the line that reads
Code: Select all
# define config.main_menu_music = "main-menu-theme.ogg"
Code: Select all
define config.main_menu_music = "the name of your song here.ogg"
you can do
Code: Select all
label start:
stop music
Code: Select all
label start:
stop music fadeout 1.0
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
Re: Main Menu Music / auto-off?
Hi, thank you
But I dont want to use this "stop music" funktion in the first label. If I work with savegames, I habe to use it in every single label to stop the music!? That is not good, because I have to much labels.
Is there a easy way to stop the music in the gamemenue if I leave the menue?
But I dont want to use this "stop music" funktion in the first label. If I work with savegames, I habe to use it in every single label to stop the music!? That is not good, because I have to much labels.
Is there a easy way to stop the music in the gamemenue if I leave the menue?
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: Main Menu Music / auto-off?
No.
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
Who is online
Users browsing this forum: Bing [Bot], DewyNebula, Majestic-12 [Bot], Sugar_and_rice