Moved assets to ./assets/
This commit is contained in:
16
game.py
16
game.py
@ -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.gun = pygame.image.load_animation("gun.webp")
|
||||
self.gunFlash = pygame.image.load("images/muzzleflash.png")
|
||||
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.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
|
||||
|
||||
Reference in New Issue
Block a user