This chapter, we learned how to handle events and process them so that our pygame application would be interactive. We know specific types of events, like
KEYDOWN, as well as how to access all the events in the event queue (
pygame.event.get()), and other methods for working with the event queue. In the next chapter, we will combine what we have learned about this library with python object-oriented programming by using classes.
Copyright © 2021 Code 4 Tomorrow. All rights reserved. The code in this course is licensed under the MIT License. If you would like to use content from any of our courses, you must obtain our explicit written permission and provide credit. Please contact email@example.com for inquiries.