changed audio to pygame
This commit is contained in:
parent
1ab61186a9
commit
a138adc31b
4
main.py
4
main.py
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user