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 » Thu Jan 05, 2012 2:18 am

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)

User avatar
DragoonHP
Miko-Class Veteran
Posts: 748
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 » Thu Jan 05, 2012 2:27 am

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 » Thu Jan 05, 2012 3:19 am

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 » Wed Sep 18, 2013 4:37 pm

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: 700
Joined: Sun Oct 25, 2009 11:27 am
Completed: http://art.jphi.me/projects
Projects: Umbra, Familiarity, Maleficent Justice
Organization: spaceNote
Tumblr: chocojax
Github: jenniferphi
Location: California
Contact:

Re: Main menu music won't stop D:

#5 Post by chocojax » Wed Sep 18, 2013 4:40 pm

@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 » Tue Oct 31, 2017 5:09 pm

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: 1898
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
Projects: Slumberland
Location: Brazil
Contact:

Re: Main menu music won't stop D:

#7 Post by Donmai » Tue Oct 31, 2017 7:56 pm

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 » Wed Nov 01, 2017 12:27 am

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 » Wed Nov 01, 2017 12:47 am

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], Google [Bot], Shie, tosk