O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Python Game Development for Beginners

Video Description

In this Python Game Development for Beginners training course, expert author Elliot Hauser will teach you how to build your own game sketches using Python's built-in turtle module. This course is designed for the absolute beginner, meaning no Python or game development experience is required.

You will start by learning about simple user interfaces, then jump into learning how to make your own game objects with class inheritance. From there, Elliot will teach you about the game state dictionary, how to check for intersection, and how to display game state. Finally, this video tutorial covers some advanced topics, including adding images to Turtle and private methods and attributes.

Once you have completed this computer based training course, you will be fully capable of creating your own user interfaces and games with the turtle module. Working files are included, allowing you to follow along with the author throughout the lessons.

Table of Contents

  1. Introduction
    1. Course And Author Overview 00:01:24
    2. Using Trinket 00:02:29
    3. Why Code A Game Using Pythons Turtle? 00:01:52
    4. My Approach To Learning 00:01:56
    5. Using The Working Files Outside Of Trinket 00:02:35
    6. How To Access Your Working Files 00:01:15
  2. Simple User Interfaces - Keys And Clicks With Turtle
    1. Screen Key And Click Events 00:07:31
    2. Turtle Click, Release And Drag Events 00:06:48
    3. Game Sketch - Drawing App - Part 1 00:08:47
    4. Game Sketch - Drawing App - Part 2 00:03:32
  3. Make Your Own Game Objects With Class Inheritance
    1. Object Review - Extending The Turtle Class - Part 1 00:05:46
    2. Object Review - Extending The Turtle Class - Part 2 00:04:17
    3. Displaying Information With Custom Turtle Objects - Part 1 00:04:34
    4. Displaying Information With Custom Turtle Objects - Part 2 00:06:17
    5. Game Sketch - TurtleChase! - Part 1 00:04:44
    6. Game Sketch - TurtleChase! - Part 2 00:05:19
    7. Game Sketch - TurtleChase! Finishing Touches - Part 1 00:09:55
    8. Game Sketch - TurtleChase! Finishing Touches- Part 2 00:02:22
  4. Using State
    1. The Game State Dictionary - Part 1 00:04:51
    2. The Game State Dictionary - Part 2 00:05:08
    3. Checking For Intersection - Part 1 00:05:41
    4. Checking For Intersection - Part 2 00:05:54
    5. Displaying Game State - Part 1 00:03:39
    6. Displaying Game State - Part 2 00:05:55
  5. Fun With Games - Making And Breaking Rules
    1. Autonomous Turtles - Part 1 00:08:08
    2. Autonomous Turtles - Part 2 00:05:51
    3. Surprises With Pythons Random 00:05:27
    4. Increasing Challenge With Levels - Part 1 00:05:16
    5. Increasing Challenge With Levels - Part 2 00:06:51
  6. Extras And Advanced Topics
    1. Controlling Animation With Screen.Tracer 00:03:03
    2. Screen.Setworldcoordinates 00:01:04
    3. Adding Images To Turtle 00:01:44
    4. Private Methods And Attributes 00:02:44
  7. Conclusion
    1. Wrap-Up 00:02:20