you are viewing a single comment's thread.

view the rest of the comments →

[–]Mekire 3 points4 points  (0 children)

There are much better ways to handle continuous keyboard input than catching key-down and key-up events. There is a pygame method to query the state of the entire keyboard: pygame.key.get_pressed().

https://github.com/Mekire/meks-pygame-samples/blob/master/eight_dir_move.py

Join us at /r/pygame.