how to add background and sound on the main menu?
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.
how to add background and sound on the main menu?
i know simple things about renpy in story telling, but my main menu is plain. i want to add backgrund wallpaper and song. can someone help me with the coding?
- Anima
- Veteran
- Posts: 448
- Joined: Wed Nov 18, 2009 11:17 am
- Completed: Loren
- Projects: PS2
- Location: Germany
- Contact:
Re: how to add background and sound on the main menu?
You'll have to change to entries in your games options file. The picture or music file must be in the game directory.
For the background:
mm_root = "picture.png"
For the music:
# config.main_menu_music = "main_menu_theme.ogg"
Just uncomment the line and change the filename.
config.main_menu_music = "music.ogg"
The "" are necessary, pay also attention to the indention of the music line. It has to be same as all the other config lines.
For the background:
mm_root = "picture.png"
For the music:
# config.main_menu_music = "main_menu_theme.ogg"
Just uncomment the line and change the filename.
config.main_menu_music = "music.ogg"
The "" are necessary, pay also attention to the indention of the music line. It has to be same as all the other config lines.
Avatar created with this deviation by Crysa
Currently working on:
Currently working on:
- Winterwolves "Planet Stronghold 2" - RPG Framework: Phase III
Re: how to add background and sound on the main menu?
thx! i try it up!!! i have finished my kinetik novel with 2 ending only! bad and good! since its just 2 choice....hmmmmmmmmmmm!!!
i have plenty more question..pls help me tq
btw, how to save our game that has complete? build distribution? then where the distribution been saved? i cant seem to find it...
i have plenty more question..pls help me tq
btw, how to save our game that has complete? build distribution? then where the distribution been saved? i cant seem to find it...
- Anima
- Veteran
- Posts: 448
- Joined: Wed Nov 18, 2009 11:17 am
- Completed: Loren
- Projects: PS2
- Location: Germany
- Contact:
Re: how to add background and sound on the main menu?
It should be in the folder you've chosen as the projects folder. If you click Options in the Launcher and then on Projects Directory it should have the right directory selected. The game is packed, probably in a zip file with the games name.
Avatar created with this deviation by Crysa
Currently working on:
Currently working on:
- Winterwolves "Planet Stronghold 2" - RPG Framework: Phase III
Re: how to add background and sound on the main menu?
/// You'll have to change to entries in your games options file. The picture or music file must be in the game directory.
For the background:
mm_root = "picture.png" ///
i cant make this. but im successfully put the music works. thx
the cover is it in png or jpg format? i put png but it clash with gm_root
For the background:
mm_root = "picture.png" ///
i cant make this. but im successfully put the music works. thx
the cover is it in png or jpg format? i put png but it clash with gm_root
Re: how to add background and sound on the main menu?
ok problem solved! thx Anima!!! can u please help me on the picture on options problems? thx
- Anima
- Veteran
- Posts: 448
- Joined: Wed Nov 18, 2009 11:17 am
- Completed: Loren
- Projects: PS2
- Location: Germany
- Contact:
Re: how to add background and sound on the main menu?
I'm not sure what your problem is. Could you elaborate?
The gm_root variable is for the game menu, that's the menu you get when you right click in the game.
You can use either png or jpg, depends on the format of the file you want to use.
The gm_root variable is for the game menu, that's the menu you get when you right click in the game.
You can use either png or jpg, depends on the format of the file you want to use.
Avatar created with this deviation by Crysa
Currently working on:
Currently working on:
- Winterwolves "Planet Stronghold 2" - RPG Framework: Phase III
Re: how to add background and sound on the main menu?
actually it has , at the end
mm_root = "picture.png",
and for gm root, i put same picture, just rename it picture2 both has , at the end..
mm_root = "picture.png",
and for gm root, i put same picture, just rename it picture2 both has , at the end..
- Anima
- Veteran
- Posts: 448
- Joined: Wed Nov 18, 2009 11:17 am
- Completed: Loren
- Projects: PS2
- Location: Germany
- Contact:
Re: how to add background and sound on the main menu?
True, I missed it yesterday when I copied the line. The , are supposed to be there.
The correct line would be:
mm_root = "picture.png",
Does it work with the ,?
The correct line would be:
mm_root = "picture.png",
Does it work with the ,?
Avatar created with this deviation by Crysa
Currently working on:
Currently working on:
- Winterwolves "Planet Stronghold 2" - RPG Framework: Phase III
Re: how to add background and sound on the main menu?
ya it works like charm
and thx for telling me the gm root is for right click ingame...now i have 2 different picture
do u know how to use DSE?
and thx for telling me the gm root is for right click ingame...now i have 2 different picture
do u know how to use DSE?
- Anima
- Veteran
- Posts: 448
- Joined: Wed Nov 18, 2009 11:17 am
- Completed: Loren
- Projects: PS2
- Location: Germany
- Contact:
Re: how to add background and sound on the main menu?
Great that it's working now.
Unfortunately I can't help you with the DSE. You could create a new topic if you have DSE specific problems.
Unfortunately I can't help you with the DSE. You could create a new topic if you have DSE specific problems.
Avatar created with this deviation by Crysa
Currently working on:
Currently working on:
- Winterwolves "Planet Stronghold 2" - RPG Framework: Phase III
Who is online
Users browsing this forum: No registered users

