The Invent with Python Blog

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 with my books for beginners, free under a Creative Commons license:

Take my Automate the Boring Stuff with Python online Udemy course. Use this link to apply a 60% discount.