Projects in Python: Get started with Python game development

Tony Staunton, Reading, writing and teaching.

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
55 Videos (4h 34m)
    • PROMO

      0:58
    • How to install homebrew and pygame

      3:43
    • Basic game code structure

      5:46
    • How to change pygame background color

      2:14
    • Creating a settings class for our game

      5:09
    • Creating the ship class

      6:33
    • Drawing the ship to screen

      2:58
    • Refactoring part 1

      3:50
    • Refactoring part 2

      3:03
    • Moving our ship to the right

      4:10
    • Constant movement

      5:44
    • Moving to the left

      2:39
    • Making our ship go faster

      4:30
    • Stopping our ship at screens edge

      3:13
    • Bullet settings

      1:36
    • Bullet class

      9:31
    • Bullets group

      2:45
    • Refactoring check events

      6:01
    • Firing bullets

      5:58
    • Deleting bullets

      4:54
    • Update bullets function

      3:32
    • Creating the alien class

      6:05
    • Creating an instance of the alien

      1:47
    • Making our alien appear on screen

      1:35
    • Creating row of aliens

      6:19
    • Creating the fleet

      7:38
    • Refactoring create alien

      5:55
    • Adding rows of aliens

      8:53
    • Moving aliens right

      3:26
    • Has an alien hit screens edge

      4:49
    • Changing fleet direction

      6:24
    • Shooting down aliens

      4:10
    • Repopulatng the alien fleet

      3:32
    • Changing alien and bullet speed

      0:36
    • Detecting alien ship collisions

      4:00
    • Responding to alien ship collisions

      12:53
    • Reacting when an alien reaches the bottom of the screen

      3:58
    • Game over

      2:26
    • When different parts of the game should run

      1:27
    • Create the button class

      10:53
    • Creating a play button

      4:38
    • Making the play button work

      5:00
    • Resetting our game

      6:05
    • Deactivating the play button

      1:28
    • Hiding the mouse

      2:01
    • Refactoring bullets

      4:11
    • Leveling up

      6:23
    • Resetting the speed

      1:26
    • Creating a scoreboard

      12:25
    • Adding points to aliens

      4:50
    • Increasing the points score

      5:43
    • Rounding the score

      2:10
    • Adding a high score

      8:49
    • Displaying our level

      10:29
    • Adding lives

      12:51