This commit is contained in:
Stefan Liebl 2024-12-28 18:23:25 +01:00
parent 60508bd2ef
commit 1f39506e2f

View File

@ -100,6 +100,8 @@ while running:
if event.type == MOUSEMOTION:
# Bewegung des avion
avion.rect.x = event.pos[0]
if event.type == MOUSEBUTTONDOWN:
print("Peng")
keys = pygame.key.get_pressed()
if keys[pygame.K_SPACE]:
# Hilfetext bei Leertaste löschen