Contents

pygame 2.5.2

0

Python Game Development

Python Game Development

Stars: 6911, Watchers: 6911, Forks: 3059, Open Issues: 408

The pygame/pygame repo was created 7 years ago and the last code push was 2 days ago.
The project is extremely popular with a mindblowing 6911 github stars!

How to Install pygame

You can install pygame using pip

pip install pygame

or add it to a project with poetry

poetry add pygame

Package Details

Author
A community project.
License
LGPL
Homepage
https://www.pygame.org
PyPi:
https://pypi.org/project/pygame/
Documentation:
https://pygame.org/docs
GitHub Repo:
https://github.com/pygame/pygame

Classifiers

  • Games/Entertainment
  • Multimedia/Graphics
  • Multimedia/Graphics/Capture/Digital Camera
  • Multimedia/Graphics/Capture/Screen Capture
  • Multimedia/Graphics/Graphics Conversion
  • Multimedia/Graphics/Viewers
  • Multimedia/Sound/Audio
  • Multimedia/Sound/Audio/MIDI
  • Multimedia/Sound/Audio/Players
No  pygame  pypi packages just yet.

Errors

A list of common pygame errors.

Code Examples

Here are some pygame code examples and snippets.

GitHub Issues

The pygame package has 408 open issues on GitHub

  • Adding get_flags in pygame.display
  • pygame.display.init fails if not started by root on Raspberry Pi
  • Add __new__ and __init__ functions for some types
  • adding missing copy test for Vector3
  • Fix stubtest warnings, run stubtest on CI
  • pygame for iOS
  • Added support for complex numbers for Vector2
  • Vector subclassing
  • Round floating point values to integers in rect property assignment
  • Pygame support for python "complex" type
  • Mouse click event appear twice in touchscreen
  • Added strikethrough option to Font
  • Add a .clamp_magnitude() to Vector2 and Vector3
  • Rect collidelistall unittests added and updated docs to document different argument types
  • SIMD version of BLEND_RGBA_MULT for 32bit surfaces

See more issues on GitHub

Related Packages & Articles