pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Libraries

For code snippets, you may want to check out the Python Code Repository. There you can find scripts, functions, and snippets to aid you in your programming endeavors, all available under DFSG-Free licensing terms.

projects | recent releases

Albow
A Little Bit of Widgetry for PyGame
 
AStar
A simple python implementation of the A* (a-star) path finding algorithm. The source contains the algorithm and a simple proof-of-concept example using pygame. The code only implements support for a plain square map but it should be fairly simple to implement support for any map type. If you have any questions regarding this don't hesitate to ask.
 
BlackWings
BlackWings is a Framework intended to make graphical applications easier to be developed.
 
CHAT
The chat system consists of a client and a server program. The client uses non-blocking sockets and has a multi-threaded connection process so the GUI remains responsive at all times. The server program also uses non-blocking sockets. This project is highly modularized and heavily commented.
 
ChessBoard
ChessBoard is a Python implementation of the FIDE laws of chess.
 
Directicus
Directicus is a pygame code library that promotes rapid, easy to understand game development.
 
Easy Python
Easy Python is a module I'm writing with python and pygame to make python and pygame the best languages out there.
 
FibraNet
FibraNet allows pygame and other custom events to be dispatched to subscribed functions and methods. It simplifies concurrent simulations.
 
gasp
A graphics library to be used for students new to programming/python.
 
GooeyPy
A fast, flexible, and cool looking GUI for pygame.
 
gradients
gradients in pygame without using numeric
 
Isotope
A simple but powerful Isometric Engine in the mode of Knightlore etc. Well commented and fully pydoc'ed with a manual to boot.
 
JESTUR
Library for mouse gesture / stroke recognition. Feed it consecutive mouse movements and it will return a weighted score to recognized gestures.
 
layeredupdates.py
A thin extension to pygame.sprite.RenderUpdates to allow user-defined layering of sprites.
 
LGT: Lightweight Game Toolkit
LGT provides OpenGL sprites with rotations, scaling and blending. It also includes a cooperative threading scheduler, an event engine, and safe, simple network comms using Twisted.
 
Mike's Simple GUI
Simple GUI that uses only Pygame.draw() calls to render itself.
 
Mirra
2D openGL python library that focuses on interaction. Built in graphical classes implement mouse event listeners. (in a way like macromedia director or flash do). It implements event listeners and rendering stack with Z layering.
 
OcempGUI
OcempGUI is a python based toolkit for creating (graphical) user interfaces using the pygame library. It offers various widgets and base classes making it suitable for a broad range of projects and easily extensible by the creation of own widgets and more.
 
OpenGL Font library
This is a font library implementation for Python/OpenGL, it is designed to plug-in to the Viper game engine but it also runs indepently.
 
Opioid2D
OpenGL based game framework on top of pygame written in Python and C++.
 
PGU - Phil's pyGame Utilities
a collection of handy modules and scripts for PyGame.
 
PixelPerfect
A simple pure python implementation of an pixel perfect collision detection algorithm.
 
PyAnimate (discontinued)
A surfarray movie creator/player
 
PYCAL3D
pycal3d is a wrapper around the c++ cal3d character animation library. It also provides some helper functions/classes to handle drawing of the models with opengl, and loading the models.
 
pygame-console
Simple interactive terminal for pygame
 
pygext
Pygame Extended: OpenGL accelerated sprite/event-engine plus a miscellanous bunch of utility libraries
 
PygLibs
PygLibs is a group of basic(for now) game libraries
 
pygsear
pygsear is a programming framework using Python and Pygame. It includes classes for drawable objects, paths, cursors, widgets and more, and it comes with a large number of examples. There is also (experimental) code using Twisted for networking.
 
pylge
Pretty sure even if I felt like working on an engine like this again, I would start fresh. Too much distance from the project. An engine to handle 16bit era style games - overhead rpgs, sidescrolling platformers, and scrolling shooters. Physics engine, ai, handling of multiple scenes, scrolling tilemaps, and scripting for the script kiddies.
 
pymage
PyGame wrapper package
 
pymills
James Mills Python Library
 
PYPLACE
This is a simple framework for creating your own isometric games.
 
pyraknet
pyraknet is a Python extension that has bindings for the reliable UDP network library RakNet.
 
pyso
pyso is a pygame-based toolkit for developing isometric sprite games in Python.
 
Python Media Player
Plays audio files.
 
Python Text Editor
A text editor in python.
 
PYUI
PYUI is a full featured GUI library. It support several backends, including pygame. It has evolved into a general UI toolkit, with applicability outside of games.
 
PyUI2
PyUI2 is a cross platform user interface library written in Python.
 
PYZZLE
Pyzzle is a free open source Myst/Riven interface style engine. It was orginally written for the 'MadTV' project, but decided to separate it into a free standing engine so people can use it in their own games. Pyzzle comes with Orbis Tertius, a small environment with high quality graphics.
 
QGL
A Minimal OpenGL 2D Scenegraph.
 
rdpyg
A collection of code for games using python. Code for use with games made with pygame, and/or pyopengl.
 
Settings
A small series of menus designed to grant the programmer simple access to what settings the user wants.
 
SiGL
SiGL is a layer on top of pygame, which provides OpenGL graphics and other game related stuff.
 
Spineless game engine
Spineless is a generic cross-platform 3D game engine implemented in Python. Focus is on flexibility, clean design and ease of use, not pure speed or bleeding edge graphics.
 
SPyRE
SPyRE is a simple OpenGL rendering engine. It depends only on Python, Pygame, and PyOpenGL. You provide OpenGL drawing code within simple display objects, and the engine displays those objects, with a variety of viewing controls including panning, rotating and zooming. Currently the library is in development for a baseball simulation game. The library includes documentation and several examples.  
 
String Parsing Functions
A bundle of string parsing functions
 
Sub-pixel surface
Sub-pixel rendering without using OpenGL!
 
UIX
UIX is GUI using pygame as main renderer.
 
viper
viper is a wrapper for pygame designed to simplify the process of game development. In addition viper also provides additional high-level libaries for game development.
 
VISIONEGG
The Vision Egg produces 2D or 3D visual stimuli on commodity video cards using hardware-accelerated OpenGL. Precise timing, precise color and luminance specification, and real-time control of 2D and 3D graphics are the goals of this project.
 
Waldi Tile Engine
The Waldi Tile Engine is a object-oriented framework for writing rectangular-tile-based games using Python and PyGame.
 
Window Manager Extensions
Provides window positioning and sizing, maximize, restore, iconify, activate, show, always-on-top, coordinate conversion, work-area, and non-rectangular window shapes.
 
Zun
Framework/IDE/Engine-template suite for games, based around Pygame and OpenGL. Ultimate mission is to make game development as speedy as possible.
 
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
May 24, 2012




May 23, 2012

May 22, 2012


May 20, 2012

May 19, 2012

May 18, 2012

May 17, 2012


... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)