techwithtim / PygameForBeginners

A simple 2D python game designed to teach you the pygame module.
451 stars 371 forks source link

.ogg files will fix the .mp3 on linux #2

Closed mouse-rat closed 3 years ago

mouse-rat commented 3 years ago

pygame 2.0.1 (SDL 2.0.14, Python 3.8.6) Hello from the pygame community. https://www.pygame.org/contribute.html Traceback (most recent call last): File "/home/mouserat/Desktop/git-hub-python/PygameForBeginners/main.py", line 17, in BULLET_HIT_SOUND = pygame.mixer.Sound('Assets/Grenade+1.mp3') pygame.error: Unable to open file 'Assets/Grenade+1.mp3'

.ogg files will fix the .mp3 load/play error on Linux