Music Will Not Play
Posted: Wed Jun 12, 2019 2:32 am
So this is my first day in Ren'py, so it's quite possible I'm pulling a stupid here. I've spent the past 2 hours trying to make it so I can play music over a scene in my learning-the-works game (a throw away thing I'm using to learn it with) and it just won't work. Music is set to true, I've tried putting the audio files in the main game folder, a folder titled "music", a folder titled "audio," and even the images folder because I read that other people had success with it. So, here's my code I guess.
Code: Select all
play music "mysong4.ogg"
scene bg classroom
transform left:
xalign 0.0
yalign 1.0
transform right:
xalign 1.0
yalign 1.0
define R = Character("Royal", color="#D5BC2F")
define T = Character("Terry", color="961c67")
label start:
"I'm afraid of myself. Can you understand that feeling?"
scene bg classroom
show royal neutral at right
"Royal" "Hey, Terry, what are you doing in here by yourself?"
hide royal neutral
show terry neutral at left
"Terry" "Er... Nothing. Was just looking for something, but it doesn't appear to be in here so I'll uh-- I'll just forget it."
hide terry neutral
show royal neutral at right
R "Ah, what was it? Maybe I could help?"
hide royal neutral
show terry neutral at left
T "No-no. Forget it, okay?"
define slowdissolve = Dissolve(1.0)
scene bg classroom
show terry neutral at left
with slowdissolve
scene bg forest
show terry neutral at left
with slowdissolve
T "It's getting dark, you should head home."
hide terry neutral
show royal neutral at right
R "But what about you? It's dark, you shouldn't walk home by yourself."
hide royal neutral
show terry neutral at left
T "Trust me, I'll be fine."