
Pygame-ce Front Page — pygame-ce v2.5.7 documentation
Welcome to pygame-ce! Once you've got pygame-ce installed (pip install pygame-ce or pip3 install pygame-ce for most people), the next question is how to get a game loop running.
pygame
Join the global team behind the most popular Python game library. Ranging from documentation revisions to introducing new features to the pygame API.
pygame — pygame-ce v2.5.7 documentation
When you import pygame all available pygame submodules are automatically imported. Be aware that some of the pygame modules are considered optional, and may not be available.
A Newbie Guide to pygame — pygame-ce v2.5.7 documentation
Pygame may be easy to learn, but the world of graphics programming can be pretty confusing to the newcomer. I wrote this to try to distill the practical knowledge I've gained over the past …
pygame.Window — pygame-ce v2.5.7 documentation
The Window class (formerly known as _sdl2.video.Window), is a newly published feature of pygame-ce 2.5.2. This class allows for programs to drive multiple windows on-screen at once, …
Making Games With Pygame — pygame-ce v2.5.7 documentation
By the end of the tutorial, you should not only have a firmer grasp of pygame, but you should also understand how TomPong works, and how to make your own version.
pygame.Rect — pygame-ce v2.5.7 documentation
Pygame uses Rect objects to store and manipulate rectangular areas. A Rect can be created from a combination of left, top, width, and height values. Rects can also be created from python …
pygame.geometry — pygame-ce v2.5.7 documentation
A tuple containing the circle's x and y coordinates representing its center. Reassigning it moves the circle to the new position. New in pygame-ce 2.4.0.
pygame.font — pygame-ce v2.5.7 documentation
This can be used by defining the environment variable PYGAME_FREETYPE before the first import of pygame the top level pygame package. Since the problem pygame.ftfont solves no …
pygame.event — pygame-ce v2.5.7 documentation
To keep pygame in sync with the system, you will need to call pygame.event.pump() internally process pygame event handlers to keep everything current. Usually, this should be called …