Page 1 of 1

Sound Filename Duplication?

Posted: Thu Apr 17, 2014 11:09 am
by Rosstin
Hey all, Rosstin here!

One thing that has been bugging me. For sounds so far, I currently have to define the filename in multiple places in-script. Like, for this voice example:
http://www.renpy.org/doc/html/voice.html

Code: Select all

play music "mus/ThePyre.ogg" fadeout 0.5 fadein 1.0

voice "line0001.ogg"
"Welcome to Ren'Py..."
I'd really rather not write the filename in-game multiple times, because then if I change it, I have to change it everywhere. :|

For music too. Is there a better way?

Re: Sound Filename Duplication?

Posted: Thu Apr 17, 2014 12:37 pm
by Alex

Re: Sound Filename Duplication?

Posted: Thu Apr 17, 2014 12:52 pm
by Rosstin
Thanks! So obvious :o