Transcription of Pygame tutorial Documentation - Read the Docs
{{id}} {{{paragraph}}}
Pygame tutorial DocumentationRelease 2019 Raphael HolzerJun 17, 2021 Contents:1 Introduction to the module .. the event loop .. the event loop properly .. colors .. the background color .. a dictionary to decode keys .. the window caption .. a simple ball game ..92 Drawing graphics solid and outlined rectangles .. solid and outlined ellipses .. the mouse .. a rectangle with the mouse .. multiple shapes .. a pologyon line with the mouse ..193 Work with attributes .. of interest .. and vertical alignment .. a rectangle with keys .. a rectangle .. a rectangle .. a rectangle with the mouse .. self-moving a rectangle .. points .. Colliding rectangles .. Overlapping rectangles .. The common code.
The most essential part of any interactive application is the event loop. Reacting to events allows the user to interact with the application. Events are the things that can happen in a program, such as a •mouse click, •mouse movement, •keyboard press, •joystick action. The following is an infinite loop which prints all events to the ...
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document:
{{id}} {{{paragraph}}}