yeah, some ai and enemy zombies

This commit is contained in:
Martin Dvořák 2026-05-31 22:28:40 +02:00
commit eb506f7a16
4 changed files with 68 additions and 3 deletions

View file

@ -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