Code: Select all
label start:
stop music fadeout 2.0
The fadeout clause will cause it not to stop suddenly. 2.0 gives the amount of seconds it takes.
I'd say it's optional, but rather important - I find that when entering the game from the main menu, it always feel awkward when I forget to put fadeout.
Having the main menu change is easier if you use a label for the main menu.
Code: Select all
label main_menu:
if persistent.change:
scene bg alternative_menu
play music "alt.mp3"
else:
scene bg menu_base
play music "base.mp3"
call screen main_menu
You'll also need to remove the background from your actual main menu screen, so it show what's behind it.
Go to screens.rpy and find the bit that says
Code: Select all
screen main_menu:
tag menu
window:
style "mm_root"
And put "#" in front of the "window" and "style"
Don't forget to define your background images in an image statement. Now you just need to pick a moment in your script to make the change happen:
I should note that this is only one of many possible ways to achieve this.