I'm rather knew to creating visual novels. In fact, I've really only been playing around with the software and the tutorial on the Internet. My question, though, is I can not get music to play. I'm not really sure where to put the "play music "music.mp3"" code. Here is my code below. Just remember, as of the moment I'm just goofing off with it.
image bg meadow = "meadow.jpg"
image be uni = "uni.jpg"
image sylvie smile = "sylvie_smile.jpg"
image sylvie surprised = "sylvie_surprised.png"
define s = Character ('Sylvie' , color="#c8ffc8")
define m = Character ('Me' , color="#c8c8ff")
label start:
play music "open.mp3"
scene bg meadow
show sylvie smile at right
"I'll ask her..."
m "Um... will you..."
m "Will you be my artist for a visual novel?"
show sylvie surprised at left
"Silence."
"She is shocked, and then..."
show sylvie smile at center
s "Sure, but what is a \"visual novel?\""
I would appreciate your help. Thanks in advance.
Oh, and I'm not sure if this is relevant but I am running this all on Linux.
Can't get music to play
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.
-
- Regular
- Posts: 55
- Joined: Sun Sep 13, 2015 3:11 pm
- Location: Greece
- Contact:
Re: Can't get music to play
Please fix your post and use 'code' tags. By this we can see your code better.
- vollschauer
- Veteran
- Posts: 231
- Joined: Sun Oct 11, 2015 9:38 am
- Github: vollschauer
- Contact:
Re: Can't get music to play
Volume is on?
Code: Select all
label start:
play music "open.mp3"
queue music "open.mp3"
- MoonByte
- Regular
- Posts: 173
- Joined: Thu Mar 24, 2016 9:18 pm
- Completed: Shine (RPG Maker), Heroes (RPG Maker), Lantern Bearer (RPG Maker), Loop the Loop (Unity), Other Stars (Unreal), Sky Eye (RPG Maker), WIN Delivery & Fateful (Ren'Py)
- Projects: Weird Is Normal (Ren'Py)
- Location: Germany
- Contact:
Re: Can't get music to play
Is your music in a subfolder? Because if yes, then you need to tell Ren'Py the path.
Code: Select all
label start:
play music "Music/open.mp3"
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]