Sounds not working in pygame
mowen88

Hi all. I have coded a platformer from an online tutorial and I cannot for the lofe of me get sounds to work. They are coded properly, there was no resolution that worked for me from asking on stackoverflow and the code runs fine, just no sound whether I use music or sound with pygame mixer. The sound works when I use python and import audio function on replit, just nothing on pygame. Thanks for your helps in advance!

You are viewing a single comment. View All
jordaneasthere

sounda.play () returns the object needed to play the sound. You can also use it to find out if the sound is still sounding:

channela = sounda.play ()
while channela.get_busy (

https://besthybridtablesaw.com/best-table-saw-for-beginners/