Pygame Sound Not Working

Question:
I made this repl and it doesn’t play the sound like it’s supposed to and gives me this error. Can somebody help/fix the problem?
Repl link/Link to where the bug appears:
https://replit.com/@MaxwellHein/Bill-Ciphers-Last-Words?v=1
Screenshots, links, or other helpful context:

code snippet

you need to set audio=true in your .replit file to hear sound.
AAAAAAAAAAAAAA I DON’T HAVE CANNED REPLIES SO I CAN’T GIVE YOU SCREENSHOTS AAAAAAAAAAAA

1 Like

I don’t have a .replit file. How do I make one?

Adding on to @python660 here, it’s also recommended that you use replit.audio on replit.

Also be aware that audio, while it’ll work in your editor, will not work on the cover page.

1 Like

You’ll have to show hidden files, every Repl has one:

Images

Dots

Show hidden files

along with many bugs regarding anonymous users. I’d recommend for a PC experience, you should use local code not Replit.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.