Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
# Music to play at the main menu.
config.main_menu_music = "mymainmenumusic.ogg"
Yeah, I want to use a specific musical piece I made, and I've done all the preperations with it, it's .ogg and everything. Now the problem is. I put it in like that, and yeah -- sure, I the piece plays when I'm inside the Main Menu, but how do I make it automatically stop as soon as one clicks the "New Game" button? Because the piece continues playing even when I start the game.