The Art of Doing: Video Game Creation With Python and Pygame



From simple games using single images to complex games using classes and 100 sprites, this course will cover it all!

What you will learn

Fundamentals of the Pygame library and overall video game design.

The use of Classes and Inheritance to make complex code more organized and efficient.

How to create surfaces, blit images, render text, handle user input, and detect collisions.

How to work with sprites, sprite groups, and more robust collision methods.

How to create our own tile map and read a tile map to design a game level.

How to use 2 dimensional vectors to handle complex platformer motion such as running and jumping under gravity and friction.

How to add custom character animations using sprite sheets to help make our games really come to life.

How to use collision masks to have pixel perfect collisions when needed.

Create 7 awesome games in total! 4 that are very beginner friendly, 2 that are intermediate, and 1 that is advanced.

Description

Have you learned the fundamentals of Python and then asked yourself; what’s next?

If so, consider taking this course which will start you on your journey to making your own playable, fun, and rather addicting video games using Python and the Pygame library.

So often, when students ask for advice they are told to, “Go build something” or “Get involved on a project” but have no idea what projects to build or get involved in.

This course will set you on your way! In this course I will walk you though, step by step, on how to to design the layout and the functionality of 7 unique, engaging, and most importantly, FUN games.  By the end of this course, I promise that you will be coming up with your own game ideas and feel confident enough in your abilities to create them.

In my experience teaching computer science, students tend to flourish under the basics but hit a wall when we approach object oriented programming.  The shift to using Classes as a way to structure code is difficult and often times students don’t have enough exposure to meaningful examples of how to use Classes to help make complex code more efficient.  I believe by the end of this course, you will understand how to use classes.


This course is designed in such a way that NO KNOWLEDGE OF CLASSES is needed to start!  We will begin by learning the fundamentals of the Pygame library and video game design concepts as we move onto making 4 very fun arcade style games.

  • Feed the Dragon:  Using your arrow keys, move the dragon up and down, trying to eat as many gold coins as you can.  The more coins you eat, the faster you move!
  • Click the Clown:  Using your mouse, click the clown on your screen as he moves in random directions.  With each click, he moves faster and faster!
  • Snake:  Relive the glory days of cellphone gaming circa 2000 with the classic Snake style game!
  • Burger Dog: Feed a hungry pup burgers that are falling from the sky.  Time your speed boosts just right to catch those burgers that are just out of reach!

We will then review/teach concepts of classes and inheritance in Python as they are crucial tools to help us take our games to the next level using Sprites and Sprite Groups.  We will spend some time learning more intermediate concepts such as how to use sprites, sprite groups, and various sprite collision detection methods as we move onto making 2 intermediate level games.

  • Monster Wrangler: A heroic Knight must wrangle various monsters on the screen.  Be careful to collect the right type of monster; collect the wrong one and you will be punished!
  • Space Invaders:  Who doesn’t love space invaders????  Save civilization from wave after wave of impending aliens slowly (and then quickly) creeping across and down the screen in that classic Space Invader motion!

The third portion of this course will focus on more advanced topics such as creating a tile map and using/reading it to create more complex level designs, using 2 dimensional vectors to aid with more complex player movement such as running and jumping under forces of friction and gravity, and adding character animations to make our games really come to life!  We will use these more advanced concepts as well as all of our previous knowledge to make one last game that will be a great final project for you to show off!

  • Zombie Knight: It’s dark, spooky, and the zombies have risen!!!  In this classic style platformer, you a trusty Knight must survive night after night of zombie attacks.  Jump from platform to platform.  Use portals to teleport across the level.  Attack zombies with your trusty sword to kill them….BUT, you must remember; zombies can always rise from the dead!  Finish them off for good by stomping on them once you kill them with your sword!  Most importantly, collect valuable rubies and prevent more zombies from rising!

I’m really proud of this class.  I really believe it not only is a great learning experience but it is also A LOT OF FUN!  I hope you consider joining and taking part in the learning.

English
language

Content

Setup and Installation

Course Preview and Introduction
Installing Python
Installing Visual Studio Code
Installing Pygame and Asset Gathering
Finding All Assets For This Course

Basic Pygame Tutorial

Creating a Display Surface
Drawing on a Display Surface
Blitting (copying) Images
Blitting (copying) Text
Adding Sound Effects and Music
Discrete Keyboard Movement
Mouse Movement
Continuous Keyboard Movement
Movement Restrictions and Alternative Keymapping
Collision Detection

Game #1: Feed the Dragon

Feed the Dragon Preview
Feed the Dragon Setup 1
Feed the Dragon Setup 2
Feed the Dragon Gameplay 1
Feed the Dragon Gameplay 2

Game #2: Catch the Clown

Catch the Clown Preview
Catch the Clown Setup 1
Catch the Clown Setup 2
Catch the Clown Gameplay 1
Catch the Clown Gameplay 2

Game #3: Snake

Snake Preview
Snake Setup 1
Snake Setup 2
Snake Gameplay 1
Snake Gameplay 2

Game #4: Burger Dog

Burger Dog Preview
Burger Dog Setup 1
Burger Dog Setup 2
Burger Dog Gameplay 1
Burger Dog Gameplay 2

Intermediate Pygame Tutorial

Class Basics
Inheritance Basics
Sprites and Sprite Groups
Sprite Collide
Group Collide

Game #5: Monster Wrangler

Monster Wrangler Preview
Monster Wrangler Setup
Monster Wrangler Player Class
Monster Wrangler Monster Class
Monster Wrangler Game Class 1
Monster Wrangler Game Class 2
Monster Wrangler Game Class 3
Monster Wrangler Game Class 4
Monster Wrangler Game Class 5
Monster Wrangler Fixing a Small Error

Game #6: Space Invaders

Space Invaders Preview
Space Invaders Setup
Space Invaders Player Class
Space Invaders Player Bullet Class
Space Invaders Alien Class
Space Invaders Alien Bullet Class
Space Invaders Game Class 1
Space Invaders Game Class 2
Space Invaders Game Class 3
Space Invaders Game Class 4

Advanced Pygame Tutorial

Creating a Tile Map
Designing a Level
Using 2 Dimensional Vectors for Player Movement Part 1
Using 2 Dimensional Vectors for Player Movement Part 2
Adding Gravity
Adding Jumping and Wrap Around Movement
Sprite Animation
Collision Masks

Game #7: Zombie Knight Part 1

Zombie Knight Preview
Zombie Knight Asset Gathering
Zombie Knight Setup 1
Zombie Knight Setup 2
Zombie Knight Creating Our Tile Map
Zombie Knight Tile Class
Zombie Knight Ruby Maker Class
Zombie Knight Portal Class
Zombie Knight Game Class 1

Game #7: Zombie Knight Part 2

Zombie Knight Player Class 1
Zombie Knight Player Class 2
Zombie Knight Player Class 3
Zombie Knight Player Class 4
Zombie Knight Zombie Class 1
Zombie Knight Zombie Class 2
Zombie Knight Zombie Class 3
Zombie Knight Zombie Class 4
Zombie Knight Zombie Class 5

Game #7: Zombie Knight Part 3

Zombie Knight Ruby Class 1
Zombie Knight Ruby Class 2
Zombie Knight Game Class 2
Zombie Knight Game Class 3
Let’s Play Zombie Knight!

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
100% Free SEO Tools - Tool Kits PRO

Check Today's 30+ Free Courses on Telegram!

X