Mar-15-2022, 03:48 AM
(This post was last modified: Mar-15-2022, 03:48 AM by deanhystad.)
The game should play music from a playlist. I would have a file with the track file names. Either play tracks to completion or associate a track with a level in the game.
Independently you could write a small app to create the playlist. The playlist editor can be as simple as a list and a couple of buttons. The list displays the playlist files. The buttons delete a track from the list or insert a new track. The insert button draws a file selector dialog for selecting the new track file. For something like this I would use tkinter instead of qt. No need to install packages. No need to worry about what version of qt. A file browser type interface will let you user select any music they want from files already on their computer.
Independently you could write a small app to create the playlist. The playlist editor can be as simple as a list and a couple of buttons. The list displays the playlist files. The buttons delete a track from the list or insert a new track. The insert button draws a file selector dialog for selecting the new track file. For something like this I would use tkinter instead of qt. No need to install packages. No need to worry about what version of qt. A file browser type interface will let you user select any music they want from files already on their computer.