Compare commits

..

2 Commits

2 changed files with 5 additions and 1 deletions

View File

@ -17,6 +17,8 @@ pygame.init()
gun = pygame.image.load_animation("gun.webp")
print(gun[0])
GunFlash = pygame.image.load("images/muzzleflash.png")
#Sounds for the gun :3
PlaySound = pygame.mixer.Sound.play
GunBlank = pygame.mixer.Sound("sfx/gun-blank.mp3")
@ -68,6 +70,8 @@ while running:
screen.blit(gun[spinInc][0],(0,0))#draw the gun
pygame.display.flip()
clock.tick(60)

BIN
images/muzzleflash.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB