Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Extended Music Room for Ren'Py

Fully featured music room with improved usability and setup for Ren'Py. · By Feniks

creating multiple music rooms and disabling music room briefly during play

A topic by kindlykelpie created 40 days ago Views: 32 Replies: 2
Viewing posts 1 to 2
(1 edit)

hi, this was noted in the readme file in the download, and I'm finding that I'd probably like to create multiple music rooms for my project, so I was wondering how exactly I would go about that? I wanna clarify that I'd specifically like to be able to have different players/bars for different tracklists (and ideally, different screens), so hopefully that's actually feasible.

additionally, I would also like to know if it's possible to disable the music room at times. currently, it cycles through the track list when playing the game, but there are certain moments where I want specific music playing and nothing else, so I'd want to turn it off during those times and re-enable it later.

Developer

It's as simple as making another variable. The default example shows music_room = ExtendedMusicRoom(...) -- all you need to do to make another one is music_room2 = ExtendedMusicRoom(...) and use music_room2.add to add songs to it. The default music_room screens all get passed in an ExtendedMusicRoom, so instead of an action like ShowMenu("music_room", mr=music_room) then it's ShowMenu("music_room", mr=music_room2). Or make your own unique screens that directly refer to music_room2 instead of the passed in mr argument so you can style them differently.

I don't really understand what you mean by disabling the music room. Ren'Py's music room base is meant more as an out-of-gameplay unlockable gallery than it is an in-game playback machine, so if you're using it in another way, I'm afraid that's out of the scope of what I can assist with. Basic screen language rules apply here where you can show/hide screens, use variables to enable/disable buttons, and you can always have regular play music/stop music commands in your script.

Hope that helps!

yes, this is very helpful, thank you!