
Download all course materials here.
Explore building a pygame-based game loop with a time clock to manage 60 frames per second, handle events, update the display, and control game over state.
Define colors with RGB, load and blit a helicopter image onto a black pygame window, and outline a game loop with dynamic scene redraws.
Implement input controls for a Python Pygame helicopter game, processing up arrow key events to move up or fall, in a Flappy Bird style or traditional helicopter setup.
Learn to implement a replay or quit loop in a Python game, manage constants and variables, and drive a main loop with text objects and key press handling.
Implement a replay and quit loop in a Python game using pygame, handling key and quit events and rendering text surfaces for a Flappy Bird style clone.
Learn to add two obstacle blocks with a configurable gap using pi game to draw white rectangles on screen for a helicopter to pass through.
Define and animate random height obstacle blocks with a fixed gap in a Python game loop, move blocks toward the helicopter, and refine rendering to reflect potential collisions.
Spawn new blocks as current ones exit the screen by resetting their x position to the right with a random gap, using surface height for placement, and debug the logic.
Develop collision logic to detect when the helicopter hits blocks or passes through gaps by evaluating x and y coordinates, block width, and height, triggering game over.
Develop a Flappy Bird clone in Python by implementing collision detection, boundary checks, and crossing logic to trigger game over, while tracking score and introducing levels.
Create a score display in a Pygame Python game by detecting when the player passes gaps, incrementing the score, and rendering the score with a font on screen.
Display the score above blocks and randomize block color on reset, starting green and cycling to teal or blue, while increasing speed and shrinking gaps as the score rises.
Explore adding difficulty levels in a helicopter-based game by progressively increasing block speed and reducing gaps, extending playtime, tweaking frames per second, and refining score progression as the game scales.
Games by their very nature are supposed to be fun. So why should the process of creating them be tedious and complicated? Instead of sitting through hours of lectures and game development theory, this course cuts to chase and allows you to create a game straight away, learning as you go.
Learn Python game development by creating your own game
Master game development in a fun environment
Python game programming is a set of Python modules designed specifically for writing games. It allows you to create fully featured games and multimedia programs using the Python programming language. Python is highly popular and versatile, running on almost every platform and operating system out there; so mastering it is of enormous benefit whether you want to create Python games or pretty much anything else. By completing this course, you can create open source, free, freeware, shareware and commercial games using Python game programming.
Course Overview
This course contains 21 lectures and over 3 hours of content. It is intended for those who already have a working knowledge of Python programming or general programming, and who want to apply their skills to games development. However, beginners may still be able to follow the course too.
The main focus of this course is to create a clone of the smash hit (and extremely simple) game Flappy Bird using Python game programming. You will first be introduced to Python programming concepts and initial coding, and then delve straight into the making your game from scratch.
The first two elements of the game you will learn are the time clock and game over. From there, you'll progress to initial graphics setup including the background and adding graphics to the screen. Following that, you'll move on to working with coordinates.
The next few sections of the course focus in detail on creating input controls, boundaries, crash events and menu creation, as well as creating obstacles using polygons. Finally, you'll add the finishing elements to your game like game logic, score display, colours, and most importantly, difficulty levels.
By the end of this course you will have created your own Flappy Bird game from scratch using Python game programming and Python game development techniques. The skills you picked up along the way will give you a solid groundwork for creating bigger, more complex, and more versatile games that can be run on any platform or any operating system.