Python Game Development Course Videos
17 videos in this course
Welcome to Python Game Development Course where, you will be introduced to Python while building a video game. This course has 16 lessons, and in each you will write tiny programs to understand the core concepts. Is this's the right course for you?
Let's start by writing our very first program. It's a very short program that displays “hello world” on the console window. “Hello World” is a tradition of sorts among all programmers, it's always the first program that anyone runs.
Variables in PY Games
Variables are location inside the computer's memory that is dedicated to storing specific data values. They are an important tool in keeping track of data like names, numbers, Lists, and whether something is true or false.
Operators in PY Games
In this lesson, we're going to introduce more operators. These are 1. Modulus, 2. Exponentiation, 3. Assignment operators. And 4. Comparison operators. Let’s learn more
Lists in PY Games
A LIST is used to store data. When you want to store a lot of data or order the data, you're going to need to use a List. A List can hold many Items together and keep them in order. Let’s learn more.
If Else Statements in PY Games
So this unit, we're going to focus on IF Else statements. Services like Netflix will check your age to verify that you're old enough to watch certain movies. But how do they do that? Well, they use an IF Else statement
Loops in PY Games
A WHILE LOOP executes a set of conditions as long as the condition is true. So a While Loop can execute code forever unless the condition is set to false.
Functions in PY Games
A Function is a set of code that is grouped together in terms of functionality has a name, and using this name, uses its functionality wherever you need it. Function in Python that saves us from writing commonly used functionality.
Objects in PY Games
Objects & Methods are two fundamental concepts in Python. OBJECTS are a collection of data or variables and METHODS are sub programs that update Objects.
PyGames Library in PY Games
Now let's move forward and import the code from the PY Game library. IMPORT is used to get code from another file. That file is called a LIBRARY. The library we're going to be using today is the PY Game library
Game Design in PY Games
The game we're going to make is a basic game, where the goal is to dodge incoming obstacles. In this lesson, we'll be setting up our game so we can start adding sprites in later lessons.
Sprites in PY Games
Today, we're going to begin working with SPRITES. A Sprite is a standalone computer graphic element, and can be a two dimensional image, or an animated image that plays a specific role within a larger graphic environment.
Sprite Groups in PY Games
Last lesson, we learned how to create Sprites. In this lesson, we're going to create groups of Sprites. These can be things like enemies in our game or magical weapons. Grouping things together makes them easier to handle when there are a bunch of Objects to deal with.
Custom Events in PY Games
So we've learned about the Player Class, and an Enemy Class and how to add our player to the screen. In this lesson, we're going to add a Custom Event to add Sprites to our game screen so that they appear at set intervals.
Sprite Images in PY Games
We need some additional images to use to upgrade our game. In this lesson, let's replace all those boring rectangles with some cooler images that will make the game feel like an actual game.
Game Speed in PY Games
In this unit, we're going to be adding some finishing touches, such as making the game playable by slowing down the game speed and adding sounds.
Adding Sounds in PY Games
Today we're going to synchronize the sounds that we added to the action on the display. We're also going to review using sounds and images from other creators.