How can I use the songs collection class?

I’ve looked everywhere on how to use the songs collection class in monogame, But I didn’t find any good recourses, I want to transition between songs in my game, But I have no idea how to do that.

If anyone knows how to do that, please help me. And also I don’t have much experience in programming, So it will be super helpful if you explain it in a simple way.

This probably isn’t an answer to your question but note that monogame does not support playing two songs at once so you have to fully stop one song before you can play the next. If you want to play multiple songs at once you can do so on Windows only via this tutorial HernBlog

(post withdrawn by author, will be automatically deleted in 12 hours unless flagged)

Another possibility is that nobody who saw this thread knows the answer to your question, and that someone tried to help anyway by suggesting something that might help in another way.

I’m glad you found a solution though! If you were interested in building more knowledge around this area, you might consider posting your findings. Either way, all the best!

2 Likes

I’m really sorry, I was extremely mad when I wrote that comment because I spent a lot of time learning this simple thing.

I feel like an idiot right now. Sorry…

It happens to the best of us, no worries. If you want to edit your post to make it somewhat less harsh, I believe you can, but that’s up to you.

It’s also up to you, but I really do think it would be helpful if you shared your findings. It sounds like this might be a simple solution that perhaps people just don’t know about yet, so sharing could help others looking for the same information in the future.

I added music to my own game, but I didn’t use a SongCollection, nor do I have any understanding of how it’s useful. I just transitioned the songs manually as I moved between scenes.