Changed / added sound effects

This commit is contained in:
2025-06-16 18:58:43 +01:00
parent 65b683b42c
commit f96afd2d29
6 changed files with 10 additions and 0 deletions

View File

@ -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

Binary file not shown.

BIN
sfx/gun-load.mp3 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.