The title music can be set in options.rpy, like-
config.main_menu_music = "TITLE.MUSIC"
But this always seems to repeat. I want to use short music in about 30 seconds as a title, and don't want to loop. How should I do?
Don't want to loop music on the title screen
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.
Re: Don't want to loop music on the title screen
Instead of using that variable, add this at the beginning of your script.
Code: Select all
label before_main_menu:
play music "TITLE.MUSIC" noloop
return
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
10 ? "RENPY"
20 GOTO 10
RUN
10 ? "RENPY"
20 GOTO 10
RUN
Re: Don't want to loop music on the title screen
Solved.
Thank you, it works perfectly.
Thank you, it works perfectly.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]