Added back to TODOs I put in the main file that I then deleted. Nice job, me.
This commit is contained in:
11
__init__.py
11
__init__.py
@ -20,6 +20,17 @@ class Game:
|
|||||||
self.surface = surface
|
self.surface = surface
|
||||||
self.size = size
|
self.size = size
|
||||||
self.clock = pygame.time.Clock()
|
self.clock = pygame.time.Clock()
|
||||||
|
|
||||||
|
# TODO: Add a random delay between the spin and fire
|
||||||
|
|
||||||
|
# TODO: Utiles the following new sounds:
|
||||||
|
# gun-load: Should be played at the beginning of the game,
|
||||||
|
# and should have an animation accompanying it.
|
||||||
|
# see Brosef for the animation.
|
||||||
|
# gun-cylinder-stop: Plays directly after the load
|
||||||
|
# animation is complete.
|
||||||
|
# gun-spin/blank/shot are all used in their original ways.
|
||||||
|
|
||||||
#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("sfx/gun-blank.mp3")
|
||||||
|
|||||||
Reference in New Issue
Block a user