almost the last commit for the intro thing just missing the control cheatsheet ill commit in the next push

This commit is contained in:
Martin Dvořák 2026-06-07 01:11:18 +02:00
commit f7894f2040
4 changed files with 39 additions and 5 deletions

View file

@ -37,7 +37,12 @@ def main(fps=window_fps): # the main function
levels.dialognum += 1
if event.key == pygame.K_h:
if levels.dialognum == 9:
levels.tickd = 0
levels.dialognum = 10
if event.key == pygame.K_SPACE:
if levels.dialognum == 11:
levels.tickd = 0
levels.dialognum = 12
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