Introduction to Python Game Development: Pythgame Event Handling Mechanism-3
Brief Introduction of Pygame Event Processing Mechanism
Use of keyboard events and types
Use of mouse events and types
* Pygame event handler
Pygame Event Queue
Caching and dispatching all events
In principle, first come first served
Users process events one by one
Pygame incident
pygame.event.EventType
• Events are ...
Posted on Sat, 11 May 2019 19:55:46 -0400 by porco