Define music/sounds subfolder?

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
User avatar
Roselia-Thorns
Regular
Posts: 27
Joined: Tue Sep 13, 2016 10:01 pm
Projects: Undertale: Kissy Cutie
Tumblr: roseradetea
itch: roseradetea
Contact:

Define music/sounds subfolder?

#1 Post by Roselia-Thorns »

Is there a way to define a music and sounds subfolders?
Apparently they only play if they are in the main folder. If I try to put them in a subfolder the game can't find them.
Or there is an specific way to write it?

Code: Select all

Let's say I have my music in game/music
and I try my code to be

Code: Select all

play music "music/menu.mp3"
I get the error that they cant find it

mikolajspy
Regular
Posts: 169
Joined: Sun Jun 04, 2017 12:05 pm
Completed: Too many, check signature
Deviantart: mikolajspy
Location: Wrocław, Poland
Contact:

Re: Define music/sounds subfolder?

#2 Post by mikolajspy »

You can try

Code: Select all

play music "/music/menu.mp3"
Add a "/" in the beginning, works for me.

Post Reply

Who is online

Users browsing this forum: Google [Bot], Ocelot