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

CompileUbuntu

      
Search:  
 
 
sections
Python 2.x
Python 3.x
Python 3.x into virtual environment
Installing pygame with pip
Tests and examples with OpenGL
Tests and examples without OpenGL
Raspbian

Install the development libraries and dependencies needed to install pygame.

Download pygame from bitbucket, build, then install!

Note: When building for both Python2 and Python3, do this from completely different download (build) directories)!

For rebuilding with the instructions below for a newer version upstream, use the commands hg pull and hg update to upgrade the download.

Python 2.x

Python 3.x

Python 3.x into virtual environment

Installing pygame with pip

Tests and examples with OpenGL

There is a bug in python3-opengl-3.0.2-1 in Ubuntu Xenial, this can be circumvented by installing https://launchpad.net/ubuntu/yakkety/amd64/python3-opengl/3.1.0+dfsg-1 from Yakkety. Download the package http://launchpadlibrarian.net/260965664/python3-opengl_3.1.0+dfsg-1_all.deb or a more recent version and install with sudo dpkg -i python3-opengl_3.1*.deb

.

Tests and examples without OpenGL

Raspbian

spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Jul 17, 2016

Jul 3, 2016

Jul 1, 2016

Jun 19, 2016


Jun 12, 2016

Jun 3, 2016

Jun 1, 2016

May 27, 2016

May 21, 2016


May 18, 2016

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