Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Learn Python Programming by Making a Game
Introduction
Introduction
Project Files
Project
Installing Python
Printing Text to the Screen
Variables
Strings
Integers, Floating Integers, and Arithmetic Operations
Functions
For Loops
While Loops
Installing the Pygame Library
Starting Off with Pygame Objects
Processing Pygame Events
Checking for a Quit Event
Creating a Rectangle
Lists in Python
Moving the Rectangle
Loading the Player Image
Loading the Background
Adding the Treasure
Checking for Y-Collisions
Checking for X-Collisions
Displaying Text After a Collision
Resetting the Player Following a Collision
Adding Levels to the Game
Adding the Enemy to the Game
Increasing the Difficulty of Each Level
Creating Additional Enemies in Each New Level
Dictionaries
Implementing Unique Enemy Names
Conclusion
Conclusion
Creating a Rectangle
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock