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

Re: [pygame] Re: pygame key repeat



The key repeat method simply tells pygame when to send pygame.KEYDOWN events based on how long a key has been pressed.  Events with keys are best used when only a single keypress is all that is needed, (like you're typing something, and you don't want each key to type 18 letters because your fingers can't get on and off the key in one frame's time).

I agree with others who have posted saying that the best way to get continuous movement is with the pygame.key.get_pressed() method. 

Ian