Moved assets to ./assets/

This commit is contained in:
2025-06-20 18:21:23 +01:00
parent 09ae4c8d7e
commit 4abb2353e1
9 changed files with 8 additions and 8 deletions

BIN
assets/gun-base.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 MiB

After

Width:  |  Height:  |  Size: 5.0 MiB

View File

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB

14
game.py
View File

@ -33,14 +33,14 @@ class Game(gameUtils.Game):
#Sounds for the gun :3
self.playSound = pygame.mixer.Sound.play
self.gunBlank = pygame.mixer.Sound("sfx/gun-blank.mp3")
self.gunShot = pygame.mixer.Sound("sfx/gun-shot.mp3")
self.gunSpin = pygame.mixer.Sound("sfx/gun-spin.mp3")
self.gunLoad = pygame.mixer.Sound("sfx/gun-load.mp3")
self.gunCyclinder = pygame.mixer.Sound("sfx/gun-cylinder-stop.mp3")
self.gunBlank = pygame.mixer.Sound("./assets/gun-blank.mp3")
self.gunShot = pygame.mixer.Sound("./assets/gun-shot.mp3")
self.gunSpin = pygame.mixer.Sound("./assets/gun-spin.mp3")
self.gunLoad = pygame.mixer.Sound("./assets/gun-load.mp3")
self.gunCyclinder = pygame.mixer.Sound("./assets/gun-cylinder-stop.mp3")
self.gun = pygame.image.load_animation("gun.webp")
self.gunFlash = pygame.image.load("images/muzzleflash.png")
self.gun = pygame.load_animation('./assets/gun-spin.webp')
self.gunFlash = pygame.image.load("./assets/muzzleflash.png")
self.shockScale = 0 #controls shock level sent to PDO (on a scale of 0 to 1)
#gun variables