Moved assets to ./assets/
This commit is contained in:
BIN
assets/gun-base.png
Normal file
BIN
assets/gun-base.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 276 KiB |
|
Before Width: | Height: | Size: 5.0 MiB After Width: | Height: | Size: 5.0 MiB |
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
16
game.py
16
game.py
@ -33,14 +33,14 @@ class Game(gameUtils.Game):
|
|||||||
|
|
||||||
#Sounds for the gun :3
|
#Sounds for the gun :3
|
||||||
self.playSound = pygame.mixer.Sound.play
|
self.playSound = pygame.mixer.Sound.play
|
||||||
self.gunBlank = pygame.mixer.Sound("sfx/gun-blank.mp3")
|
self.gunBlank = pygame.mixer.Sound("./assets/gun-blank.mp3")
|
||||||
self.gunShot = pygame.mixer.Sound("sfx/gun-shot.mp3")
|
self.gunShot = pygame.mixer.Sound("./assets/gun-shot.mp3")
|
||||||
self.gunSpin = pygame.mixer.Sound("sfx/gun-spin.mp3")
|
self.gunSpin = pygame.mixer.Sound("./assets/gun-spin.mp3")
|
||||||
self.gunLoad = pygame.mixer.Sound("sfx/gun-load.mp3")
|
self.gunLoad = pygame.mixer.Sound("./assets/gun-load.mp3")
|
||||||
self.gunCyclinder = pygame.mixer.Sound("sfx/gun-cylinder-stop.mp3")
|
self.gunCyclinder = pygame.mixer.Sound("./assets/gun-cylinder-stop.mp3")
|
||||||
|
|
||||||
self.gun = pygame.image.load_animation("gun.webp")
|
self.gun = pygame.load_animation('./assets/gun-spin.webp')
|
||||||
self.gunFlash = pygame.image.load("images/muzzleflash.png")
|
self.gunFlash = pygame.image.load("./assets/muzzleflash.png")
|
||||||
|
|
||||||
self.shockScale = 0 #controls shock level sent to PDO (on a scale of 0 to 1)
|
self.shockScale = 0 #controls shock level sent to PDO (on a scale of 0 to 1)
|
||||||
#gun variables
|
#gun variables
|
||||||
|
|||||||
Reference in New Issue
Block a user