Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to hundreds of tutorials and a community of expert Pythonistas.

Unlock This Lesson

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

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

In this course, you learned how game programming with pygame differs from standard procedural programming. You also learned how to:

  • Implement event loops
  • Draw items on the screen
  • Play sound effects and music
  • Handle user input

To do this, you used a subset of the pygame modules, including the display, mixer and music, time, image, event, and key modules. You also used several pygame classes, including Rect, Surface, Sound, and Sprite. But these only scratch the surface of what pygame can do! Check out the official pygame documentation for a full list of available modules and classes.

Download

Sample Code (.zip)

422.6 KB

Download

Course Slides (.pdf)

7.6 MB

Comments & Discussion

sumakolurmath on March 27, 2020

Thanks Chris, for the awesome course!

Become a Member to join the conversation.