Simplified playing sfx
This commit is contained in:
@ -8,6 +8,7 @@ yOffset = 0
|
|||||||
pygame.init()
|
pygame.init()
|
||||||
|
|
||||||
#Sounds for the gun :3
|
#Sounds for the gun :3
|
||||||
|
PlaySound = pygame.mixer.Sound.play
|
||||||
GunBlank = pygame.mixer.Sound("sfx/gun-blank.mp3")
|
GunBlank = pygame.mixer.Sound("sfx/gun-blank.mp3")
|
||||||
GunShot = pygame.mixer.Sound("sfx/gun-shot.mp3")
|
GunShot = pygame.mixer.Sound("sfx/gun-shot.mp3")
|
||||||
GunSpin = pygame.mixer.Sound("sfx/gun-spin.mp3")
|
GunSpin = pygame.mixer.Sound("sfx/gun-spin.mp3")
|
||||||
|
|||||||
Reference in New Issue
Block a user