added an OP mode, for dev and cheats
This commit is contained in:
parent
9e34de19b4
commit
f74812bc3b
1 changed files with 2 additions and 0 deletions
2
game.py
2
game.py
|
@ -95,6 +95,8 @@ def play(window):
|
|||
temp = Bullet(player)
|
||||
bullet_group.add(temp)
|
||||
|
||||
if event.type == pygame.KEYDOWN and event.key == pygame.K_KP_PLUS:
|
||||
player.OP = not player.OP
|
||||
|
||||
keys = pygame.key.get_pressed()
|
||||
if keys[pygame.K_RIGHT] or keys[pygame.K_d]:
|
||||
|
|
Reference in a new issue