Sound Filename Duplication?
Posted: Thu Apr 17, 2014 11:09 am
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
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?
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..."
For music too. Is there a better way?