Answer the question
In order to leave comments, you need to log in
Why such an error?
Music should be loaded into the python game, I wrote the following code:
import pygame as pg
pg.init()
bulletSound = pg.mixer.Sound('Sounds/Weapons/Pistols/P92/P92 BULLET.wav')
Traceback (most recent call last):
File "C:\Users\Семья\Desktop\game\main.py", line 45, in <module>
bulletSound = pg.mixer.Sound('Sounds/Weapons/Pistols/P92/P92 BULLET.wav')
pygame.error: Unable to open file 'Sounds/Weapons/Pistols/P92/P92 BULLET.wav'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question