Skip to Content
Game Development with PyGame: Write Your Own Games, Simulations, and Demonstrations with Python
on-demand course

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

with Coen de Groot
December 2019
Intermediate
1h 5m
English
Apress
Closed Captioning available in English

Overview

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

Who This Video is For 

Intermediate to experienced Python programmers who want to create games and other interactive experiences. Passionate gamers who want to create their own games would find this course useful




Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Human-Computer Interaction in Game Development with Python: Design and Develop a Game Interface Using HCI Technologies and Techniques

Human-Computer Interaction in Game Development with Python: Design and Develop a Game Interface Using HCI Technologies and Techniques

Joseph Thachil George, Meghna Joseph George

Publisher Resources

ISBN: 9781484256619Supplemental Content