Sorry, your browser is not supported
To have the best experience using Skillshare, we recommend that you use one of these supported browsers.

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

About This Class

Are you ready to save the earth from invaders from the planet python? If so, then you can take your Python skills from basic to advanced by creating a fully featured and professional Space Invaders clone called Invaders from Python. This course is the follow-up to my hugely successful Python 3: A Beginners Quick Start Guide to Python and will take you the student from knowing the basics of the Python programming language and walk you through creating your very own Python game.

7

Students

--

Projects

0

Reviews (0)

Tony Staunton

Reading, writing and teaching.

Hi! I'm Tony. I love to read, write and teach and you could definitely call me a bit of geek. I love all things to do with programming, productivity, books and the internet.

Previously I have run my own software business and won several awards from, most innovative startup to best product. After finding out the hard way just how stressful growing a startup into a business can be I have researched all things to do with productivity and I love helping other become more productive and avo...

See full profile