View Single Post
Old Jun 28th, 2005, 12:10 AM   #1
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,189
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
Pygame Key Input

How can I clear the que of buttons pressed, so not to accidently hit enter for something that the user hasn't even seen yet?

I'm using:

for event in pygame.event.get():
__________________
Looking for tough programming challenges? Try participating in Sane's Monthly Algorithms Challenges!
Composing Techno is a little side hobby of mine. Techno by DJ Sane. All free for download.
Sane is offline   Reply With Quote