[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Re:



A more elegant solution is to use pygame.key.get_pressed() (
http://www.pygame.org/docs/ref/key.html#pygame.key.get_pressed )

This checks if a key is being held down. Otherwise you have the option
of using the KEYDOWN / KEYUP events, and saving the state. ( Sounds
like get_pressed would work better in this case. )
--
Jake