diff --git a/__main__.py b/__main__.py index 1ecf31f..9656484 100644 --- a/__main__.py +++ b/__main__.py @@ -7,7 +7,7 @@ def fire():#LETS GO GAMBLING #remember to add shock else: PlaySound(GunBlank) - + screenw = 1280 screenh = 1080 yOffset = 0 @@ -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") @@ -66,6 +68,8 @@ while running: screen.blit(gun[spinInc][0],(0,0)) + + pygame.display.flip() clock.tick(60) diff --git a/images/muzzleflash.png b/images/muzzleflash.png new file mode 100644 index 0000000..84050c7 Binary files /dev/null and b/images/muzzleflash.png differ