Compare commits
2 Commits
73b579c21f
...
3494598a73
| Author | SHA1 | Date | |
|---|---|---|---|
| 3494598a73 | |||
| 6c277570aa |
@ -1,6 +1,13 @@
|
|||||||
import pygame
|
import pygame
|
||||||
from random import randint
|
from random import randint
|
||||||
|
|
||||||
|
def fire():#LETS GO GAMBLING
|
||||||
|
if randint(1,6) == 6:
|
||||||
|
PlaySound(GunShot)
|
||||||
|
#remember to add shock
|
||||||
|
else:
|
||||||
|
PlaySound(GunBlank)
|
||||||
|
|
||||||
screenw = 1280
|
screenw = 1280
|
||||||
screenh = 1080
|
screenh = 1080
|
||||||
yOffset = 0
|
yOffset = 0
|
||||||
@ -54,6 +61,7 @@ while running:
|
|||||||
spinInc = 0
|
spinInc = 0
|
||||||
spinning = False
|
spinning = False
|
||||||
startSpin = False
|
startSpin = False
|
||||||
|
fire()
|
||||||
|
|
||||||
screen.blit(gun[spinInc][0],(0,0))
|
screen.blit(gun[spinInc][0],(0,0))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user