Make a 2D Side-Scroller Game With PyGame
Christopher Bailey
24 Lessons
1h 48m
intermediate
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.
Make a 2D Side-Scroller Game With PyGame
24 Lessons 1h 48m
2. Background and Setup (02:41)
3. Basic PyGame Program (04:48)
4. PyGame Concepts (03:06)
5. The Course Game (01:48)
6. Importing and Initializing (02:13)
7. Setting up the Display (01:48)
8. Setting up the Game Loop (04:32)
9. Drawing on the Screen (02:50)
10. Using .blit() and .flip() (03:51)
11. Creating Sprites (08:46)
12. User Input (07:12)
13. Staying on the Screen (02:57)
14. Creating Enemies (07:15)
15. Sprite Groups (03:03)
16. Custom Events (05:17)
17. Collision Detection (02:39)
18. Sprite Images (04:41)
19. Adding Background Images (08:22)
20. Game Speed (05:03)
21. Adding Music (06:28)
22. Adding Sound Effects (09:04)
23. A Note on Sources (02:13)
About Christopher Bailey
Chris is an avid Pythonista and creates video tutorials for Real Python. He is a programmer and data analyst. He creates music under the name Tripnet. Chris lives in Colorado with his wife and two dogs.
» More about Christopher






sumakolurmath on March 27, 2020
Thanks Chris, for the awesome course!