Home Creators Posts Import Register Favorites Logout

Downloads

Content

This weekend I've updated the code to the old music control to fix the errors and add the option to change channel. it should work without a hitch now.Few thing's I need to mention:

It gets the name from the file name and split it following a specific format to get the artist and song name out of it, you might need to modify the function to work with your naming convention, contact me on discord: Kia#6810 and I'll assist you on changing it.

from what I've tested, renpy can't get the duration of the song out of .mp3 format, you might want to convert them into .ogg

this isn't intended to disrupt your game's music and work with the music changes that happen in your script, it might be better to remove the first button since it mutes the whole channel and prevents the next song from starting.

I'll try to create a more comprehensive player with a play list in case you want to give your players the complete control over the music. that can work as a portable music room.

You can download the code from the attachments:

Files

Comments

Strawberry

wow, this is amazing! Thank you for this one. I especially love how i don't have to create an actual musiclist now. (I have about 40+ tracks right now). i look forward to seeing this evolve. is creating a favorites system feasible in ren'py? I tried creating one using persistent variables, but that quickly became a nightmare to manage.

jt140939@gmail.com

I tried putting this code into my game and i keep getting a index error: out of range

Kia Azad

contact me on discord: Kia#6810 and we can look for the source of the error to fix it

Ray Asher

Got the same index error: out of range , I'll add you on Discord for now