Can someone help how to insert

Moricano

Well-Known Member
Jan 30, 2019
1,663
1,118
There are several Ren'py games that have no sounds inside the game folder.
Purpose of this request is, I wanted to learn how to instruct music.mp3 within a game that only has only images without any animation .... ours is stressful to play a game in the 21st century just seeing images and subtitles.
Example I created a folder inside the game folder with the name (music) inside it.
Now I need to insert this into a script file.
I need to know exactly which line of the script I can place the music code on.
And which code is used to be placed?
I tried several taking as an example some games that have music but none worked.
Can someone teach me and give me an example please.
 

Porcus Dev

Engaged Member
Game Developer
Oct 12, 2017
2,582
4,692
Official documentation:


And just because a game doesn't have files inside the "music" or "sounds" folder doesn't mean that the game doesn't have music or sounds, those files (like images, scripts and others) can be compacted inside one or several ".rpa" files: