Print coordinates when pressing F4

This commit is contained in:
bʰedoh₂ swé 2024-04-05 16:01:05 +05:00
parent 043606c965
commit 837e732efd

View File

@ -83,6 +83,8 @@ def mainLoop():
alert = Alert(f"File saved as {filename}", display)
alert_append(alert, 5)
if event.key == pygame.K_F4:
print(gPlayer.cPos)
keys = pygame.key.get_pressed()
if keys[pygame.K_d]: