Main menu music won't stop D:

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.
Post Reply
Message
Author
melon
Newbie
Posts: 11
Joined: Thu Dec 22, 2011 8:46 am
Projects: Coffee Shop(GxB), The Yellow Brick Road(GxB)
Contact:

Main menu music won't stop D:

#1 Post by melon »

Yes I have another problem..

this time I inserted some background music for the main menu which did work! Only...it keeps playing even after the game starts.

Code: Select all

config.main_menu_music = "Heart_of_the_sea.mp3"
is there another code I need or did I type something wrong?
Coffee Shop (VN,GxB)

DragoonHP
Miko-Class Veteran
Posts: 758
Joined: Tue Jun 22, 2010 12:54 am
Completed: Christmas
IRC Nick: DragoonHP
Location: Zion Island, Solario
Contact:

Re: Main menu music won't stop D:

#2 Post by DragoonHP »

Just put this...

Code: Select all

stop music

melon
Newbie
Posts: 11
Joined: Thu Dec 22, 2011 8:46 am
Projects: Coffee Shop(GxB), The Yellow Brick Road(GxB)
Contact:

Re: Main menu music won't stop D:

#3 Post by melon »

DragoonHP wrote:Just put this...

Code: Select all

stop music
=-="
How stupid of me,

Thank you @DragoonHP your always solving stupid problems for me :D
Coffee Shop (VN,GxB)

User avatar
AlfieMachica123
Regular
Posts: 56
Joined: Sun Jun 30, 2013 10:15 pm
Contact:

Re: Main menu music won't stop D:

#4 Post by AlfieMachica123 »

where do you place

Code: Select all

stop music
if you were to load the game ?

do you put the 'stop music' in every line ?

User avatar
chocojax
Miko-Class Veteran
Posts: 705
Joined: Sun Oct 25, 2009 11:27 am
Projects: Umbra, Familiarity, Maleficent Justice
Tumblr: chocojax
Location: California
Contact:

Re: Main menu music won't stop D:

#5 Post by chocojax »

@AlfieMachica123: Uhh, you'd only put it after "label start:" in script.rpy. You wouldn't need to put it in every line, you just need to "redo" your savefiles since they think the music should keep going. After you put the line in, playing the game normally should be fine. :v

User avatar
Ibitz
Regular
Posts: 63
Joined: Thu Jul 27, 2017 4:47 pm
Projects: Magical Disarray (WIP)
Organization: Ibitz Visual Novels
Deviantart: http://ibitz.deviant
itch: ibitz
Contact:

Re: Main menu music won't stop D:

#6 Post by Ibitz »

I have stop music after start and the load files still have music playing from the main menu. How do I stop it?
Image

Ibitz is a self-taught coder/artist who works alone on their games. All games I create are freeware. If you need any help with coding or creating your game, just let me know. I'd be more than happy to help.

User avatar
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 won't stop D:

#7 Post by Donmai »

Chocojax answered your question.
chocojax wrote: Wed Sep 18, 2013 4:40 pm you just need to "redo" your savefiles since they think the music should keep going.
You can also go to the launcher screen with your project selected and hit the Delete Persistent button.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

User avatar
Ibitz
Regular
Posts: 63
Joined: Thu Jul 27, 2017 4:47 pm
Projects: Magical Disarray (WIP)
Organization: Ibitz Visual Novels
Deviantart: http://ibitz.deviant
itch: ibitz
Contact:

Re: Main menu music won't stop D:

#8 Post by Ibitz »

It seems to work for me, but when others download my demo build, it still keeps happening and deleting persistent data doesn't seem to work.
Image

Ibitz is a self-taught coder/artist who works alone on their games. All games I create are freeware. If you need any help with coding or creating your game, just let me know. I'd be more than happy to help.

User avatar
Ibitz
Regular
Posts: 63
Joined: Thu Jul 27, 2017 4:47 pm
Projects: Magical Disarray (WIP)
Organization: Ibitz Visual Novels
Deviantart: http://ibitz.deviant
itch: ibitz
Contact:

Re: Main menu music won't stop D:

#9 Post by Ibitz »

Not sure if Pytom notices anything like this, but apparently the problem stopped when my friend did a Windows 10 security system update. Now the music is no longer showing up in people's saves. Everything seems to be working, now.
Image

Ibitz is a self-taught coder/artist who works alone on their games. All games I create are freeware. If you need any help with coding or creating your game, just let me know. I'd be more than happy to help.

Post Reply

Who is online

Users browsing this forum: Bing [Bot]