Hint: You can adjust the default video playback speed in your account settings.

Make a 2D Side-Scroller Game With PyGame (Overview)

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.


Sample Code (.zip)

422.6 KB


Course Slides (.pdf)

7.6 MB

Comments & Discussion

Become a Member to join the conversation.