In this course, you’ll learn about creating games using Python and the library PyGame.
By the end of this course, you’ll be able to:
- Draw items on your screen
- Play sound effects and music
- Handle user input
- Implement event loops
- Describe how game programming differs from standard procedural Python programming
This primer assumes you have a basic understanding of writing Python programs, including user-defined functions, imports, loops, and conditionals. You should also be familiar with how to open files on your platform. A basic understanding of object-oriented Python is helpful as well.
pygame works with most versions of Python, but Python 3.6 is recommended and used throughout this article.
Nick M on April 17, 2021
That was a wicked fun course. Loved it. Learned tons and really made me value the idea of libraries of functions and object orientation. I’m remembering back to my early coding days (80s, 90s) with BBC Basic or Pascal and back then I’d have had to manage so many more things by hand. This is sooooooo much easier.
Very well done course that I really enjoyed. Thanks!