Skip to content
Sign upLog in

Music in Pygame

Profile icon
ts12168127

Hello! I am trying to add background music to my pygame replit and I just can't figure it out. I have tried music.load and other things and I just don't know if you can hear music on replit or if I am not programming correctly. Please help me. Thanks!

You are viewing a single comment. View All
Profile icon
Coder100

music in pygame does not work, you must use replit audio.
https://docs.replit.com/repls/audio#playing-audio-on-replit

the reason is because replit runs on a vm.