Changed / added sound effects
This commit is contained in:
10
__main__.py
10
__main__.py
@ -12,6 +12,16 @@ pygame.init()
|
|||||||
gun = pygame.image.load_animation("gun.webp")
|
gun = pygame.image.load_animation("gun.webp")
|
||||||
GunFlash = pygame.image.load("images/muzzleflash.png")
|
GunFlash = pygame.image.load("images/muzzleflash.png")
|
||||||
|
|
||||||
|
# TODO: Add a random delay between the spin and fire
|
||||||
|
|
||||||
|
# TODO: Utiles the following new sounds:
|
||||||
|
# gun-load: Should be played at the beginning of the game,
|
||||||
|
# and should have an animation accompanying it.
|
||||||
|
# see Brosef for the animation.
|
||||||
|
# gun-cylinder-stop: Plays directly after the load
|
||||||
|
# animation is complete.
|
||||||
|
# gun-spin/blank/shot are all used in their original ways.
|
||||||
|
|
||||||
#Sounds for the gun :3
|
#Sounds for the gun :3
|
||||||
PlaySound = pygame.mixer.Sound.play
|
PlaySound = pygame.mixer.Sound.play
|
||||||
GunBlank = pygame.mixer.Sound("sfx/gun-blank.mp3")
|
GunBlank = pygame.mixer.Sound("sfx/gun-blank.mp3")
|
||||||
|
|||||||
Binary file not shown.
BIN
sfx/gun-cylinder-stop.mp3
Normal file
BIN
sfx/gun-cylinder-stop.mp3
Normal file
Binary file not shown.
BIN
sfx/gun-load.mp3
Normal file
BIN
sfx/gun-load.mp3
Normal file
Binary file not shown.
BIN
sfx/gun-shot.mp3
BIN
sfx/gun-shot.mp3
Binary file not shown.
BIN
sfx/gun-spin.mp3
BIN
sfx/gun-spin.mp3
Binary file not shown.
Reference in New Issue
Block a user