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

Re: [pygame] Help - Events



Anyway, why not to try using pygame.event.get() instead of the queue for that specific function?

Thiago Petruccelli wrote:
Wow. After organizing a little bit the event handling, it worked - the way Henrique wrote.

I'll use the input wrapper in the game, it's very useful and organized too. :)

Problem solved!

Thanks so much for all your help, you're great.

--
Thiago Henrique Petruccelli


On Tue, Nov 17, 2009 at 4:37 PM, Thadeus Burgess <thadeusb@xxxxxxxxxxxx> wrote:
I would suggest using my event input wrapper... It will clean up the event handling ALOT...

http://www.pygame.org/wiki/InputWrapper

-Thadeus