Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Python Game Development Level 2
Lesson 1: Catch the Aliens
What will you do ? (0:27)
Resource Materials
Step 1: Import libraries and define the colors
Step 2: Create a Block Object and define a function to add an image
Step 3: Initialize the game and define screen size
Step 4: Create the series of sprites and position them on the screen
Step 5:Add the main program loop
Complete Program and output screen (0:27)
Assignment
Lesson 2: Car Race Game
What will you do ? (0:43)
Resource Materials
Step 1: Add libraries and global variables
Step 2: Load all the images to the game screen
Step 3: Add introduction screen to the game
Step 4: Define a function for the button
Step 5: Define a function for the introduction screen
Step 6: Define a function for Pause and Unpause for the game
Step 7: Define a function to create a background of the screen
Step 8: Define a function for give a logic to move the background screen
Step 9: Define a function to add obstacle cars to the game
Step 10: Define a functions to add score system, text message display and to build the background screen
step 11: Define a function for creating the game loop for the car game
Step 12: Finally call the defined functions to execute the game
Complete program and the output screen (0:43)
Lesson 3: Space Invader Game - Part 1
What will you do? (0:03)
Step 1: Import required libraries for the game and define the global variables for colors and other parameters
Step 2: Initialize pygame and create window
Step 3: Create a Player object and define its function.
Step 4: Create an Enemy object and define its function
Step 5: Define a class to create a bullet object
Step 6: Update the player sprite in the animation loop
Step 7: Add a game logic and update all sprites to the list
Complete Program and the output of the game (0:03)
Lesson 4: Space Invader Game - Part 2
What will you do?
Resource Materials
Step 1: Import path library to the existing part-1 program
Step 2: Add fonts to the text and Define a shield bar to the game
Step 3: Define a rotate function to the Mob object
Step 4: Load all the game graphics by referring to the Resource materials
Step 5: Load all the sounds for the game by referring to the Resource materials
Step 6: Put all the graphics and sounds to the game loop
Complete program and output of the screen
Lesson 5: Space Invader Game - Part 3
What will you do? (0:49)
Resource Materials
Step 1: Include the Power-up time in millisecond as a variable
Step 2: Define a function to give several lives for the player object
Step 3: Update the player objects physical state and behavior
Step 4: Update the Mob or the enemy object
Step 5: Define a power up object to make sure that it has images to display and give its behavior
Step 6: Define an object which will create an explosion effect when created
Step 7: Define a Start-Up Screen
Step 8: Load all the explosion graphics and other related logic to the game
Step 9: Update the game loop by adding logic for if game is over
Step 10: check to see if a mob hit the player and update the explosion effect
Step 11: check to see if player hit a power up
Step 12: Actual Program
Teach online with
Step 10: check to see if a mob hit the player and update the explosion effect
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock