The Invent with Python Blog

Writings from the author of Automate the Boring Stuff.

Fri 07 October 2011

Pygame Cheat Sheet

Posted by Al Sweigart in pygame   

If you already know a bit of programming and Python, and want to get up to speed on the Pygame 2D game framework, here's a cheat sheet that you can look over. It implements a very short Pygame program covering most of Pygame's basic features.

View the Pygame Cheat Sheet.

Thumbnail of Pygame cheat sheet

You can also download the Pygame program itself, along with the cat.png and bounce.wav files it uses. You will need to install Python and Pygame first to run this program. The program looks like this when you run it:

Pygame cheatsheet

Learn to program for free with my books for beginners:

Sign up for my "Automate the Boring Stuff with Python" online course with this discount link.