Pygame
The facts below are what the maker publishes about Pygame, checked and dated. Our editors have not written about it yet.
Plans and prices
From Pygame's own pricing page, checked 11 Oct 2026.
| Plan | Price | What it gives you |
|---|---|---|
| Pygame | Free | Free and open source library |
The facts
Each one read from Pygame's own pages, with the date it was checked.
What it does
- 2D graphics
- Pygame provides tools for 2D graphics and animation, including images, rectangles, and polygon shapes.checked 11 Oct 2026
- Dependencies
- Pygame depends on Python and SDL; its modules also use libraries including SDL_ttf, SDL_mixer, and SDL_image, while NumPy is required for surfarray.checked 11 Oct 2026
- Documentation and support
- The project provides tutorials, reference documentation, examples, a bug tracker, and communication tools for getting in touch with the team.checked 11 Oct 2026
- Game tools
- The library includes collision detection and sprite management features.checked 11 Oct 2026
- Input
- Pygame provides functions for handling keyboard, mouse, and joystick input.checked 11 Oct 2026
- Installation
- The installation guide recommends installing Pygame with pip and says it can compile from source if a wheel is unavailable for the platform.checked 11 Oct 2026
- License
- Pygame is distributed under GNU LGPL version 2.1, and the project states that closed-source and commercial games are allowed.checked 11 Oct 2026
- Mobile export
- Yeschecked 21 Sep 2026
- Modules
- Its documented modules include display, drawing, events, fonts, images, joystick, keyboard, mouse, mixer, sprites, and timing.checked 11 Oct 2026
- Notable limitation
- The documentation notes that some Pygame modules are not included on all platforms.checked 11 Oct 2026
- Purpose
- Pygame is a Python library for making multimedia applications such as games, built on SDL.checked 11 Oct 2026
- Python requirement
- Pygame requires Python; the installation guide recommends using the latest Python version and says Python 2 is no longer supported.checked 11 Oct 2026
- Scripting languages
- Pythonchecked 21 Sep 2026
- Sound
- Pygame supports playing and manipulating sound and music, including WAV, MP3, and OGG formats.checked 11 Oct 2026
- Source code model
- open_sourcechecked 21 Sep 2026
Money
- Free plan
- Yeschecked 21 Sep 2026
Where it runs
- Platform support
- The installation guide lists wheels for Linux and Windows x86 and x64, and Mac x64 and arm64; it also provides platform-specific instructions for Windows, Mac, and Unix distributions.checked 11 Oct 2026
- Target platforms
- Windows,macOS,Linux,Androidchecked 21 Sep 2026
Alternatives to Pygame
- 1

Felgo
Free planAndroidiOSWebAPI8.7Free plan - 2

Construct 3
Free planAndroidiOSWebLinux8.6Free plan - 3

Ren'Py
Free planOpen sourceAndroidiOSWebAPI8.6Free plan - 4
Bevy
Free planAndroidiOSWebLinux8.6From $5 a month - 5

Unity
Free planAndroidiOSWebAPI8.5Free plan - 6

Godot Engine
Free planAndroidiOSWebAPI8.3Free plan