changed audio to pygame

This commit is contained in:
Looki2000 2023-05-14 20:30:03 +02:00
parent 1ab61186a9
commit a138adc31b

View File

@ -36,7 +36,7 @@ audio = True
##################
if audio:
import playsound
intro_sound = pygame.mixer.Sound("kurwa.wav")
damping_multiplier = 1 - damping
@ -227,7 +227,7 @@ while True:
continue
if audio:
playsound.playsound("prototype_sound.wav", False)
pygame.mixer.Sound.play(intro_sound)
audio = False
## simulation (take delta_time into account)