Game Development with PyGame: Write Your Own Games, Simulations, and Demonstrations with Python

Game Development with PyGame: Write Your Own Games, Simulations, and Demonstrations with Python

English | MP4 | AVC 1920×1080 | AAC 44KHz 2ch | 1h 05m | 232 MB

In this video course, you’ll learn how to use PyGame, an easy-to-learn Python library, to create interactive experiences such as games, demonstrations, and exercises.

You’ll start with an overview of PyGame and see how to install it. Next, you’ll cover the basics of using programming with PyGame including creating drawing surfaces; the coordinate system and the Rect class to define the location and sizes of images and shapes; the different ways to represent colors; and how to respond to keys and mouse actions. Further, you will see the game loop, another key part of PyGame programming. You then look at examples of PyGame creations, and some of the best places to find images, sounds, and other resources, to help you kick start your own. You will also have access to step-by-step instructions for writing two different simple games.

Next, you’ll dive into the detail of using PyGame and will cover most of its core functionality. This starts with drawing shapes, such as rectangles, circles, and lines, which can all be surprisingly useful and make a great start for a wide variety of games and other interactive experiences. You will conclude by seeing how to use sound and music in PyGame, from quiet background music to lively explosions.

Make a strong start with PyGame by watching the video then access the accompanying example code as a basis for your own games or to confirm your understanding of the different features.

What You Will Learn

  • Use PyGame to develop games
  • Discover the core functionalities of PyGame
  • Work with the game loop
  • Add sound and music in PyGame
Table of Contents

1 Overview
2 Installation
3 Surfaces, Coordinate System
4 Using Colors
5 Game Loop and Key Events
6 Examples and Inspiration
7 Resources
8 Drawing Shapes
9 Fonts and Text
10 Images
11 Transformations
12 Using the Mouse
13 Sprites and Collisions
14 Sounds
15 Music
16 Conclusion