forked from bedohswe/p3he
Print coordinates when pressing F4
This commit is contained in:
parent
043606c965
commit
837e732efd
2
main.py
2
main.py
@ -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]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user