generated from dvorakmortonxd/pygame-template
yeah, some ai and enemy zombies
This commit is contained in:
parent
5167b80925
commit
eb506f7a16
4 changed files with 68 additions and 3 deletions
2
main.py
2
main.py
|
|
@ -30,7 +30,7 @@ def main(fps=window_fps): # the main function
|
|||
if event.key == pygame.K_ESCAPE: # what happens when you press escape
|
||||
running = False # poof
|
||||
if event.key == pygame.K_k:
|
||||
level = 2.5
|
||||
level = 4.5
|
||||
if event.type == pygame.MOUSEBUTTONDOWN: # what happens when you press down a mouse button
|
||||
click = True # sets the click variable to True so level function in levels.py can see
|
||||
print(pygame.mouse.get_pos()) # prints out where the mouse is during the click for debugging purposes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue