Download

Music Player from Main Menu

Hi all!

I have been working with some very talented musicians on my project and wanted to give players the opportunity to listen to the awesome music that they have made. I wanted to create a sort-of “jukebox” in the main menu that they could select various music tracks and choose which ones to play while they are in the menu.

Outside of creating the widget and 2D art assets, my main question falls more on the technical side of creation.

For this I am thinking of creating a struct + data table that contains all the song info. After this I am struggling of coming up with the correct way to select the individual songs through user selection. I’m thinking of placing this in the game state since the project will eventually have co-op and I would only want the session leader to access the music controls.