SamSuka
Clear Code
Clear Code

patreon


Creating a Flappy Bird Clone in Python / Pygame

A tutorial on creating the popular Flappy Bird game in python with pygame.

Related videos:
Introduction to Pygame: https://youtu.be/AY9MnQ4x3zk
Deltatime: https://youtu.be/rWtfClpWSb8
Masks: https://youtu.be/uW3Fhe-Vkx4 

Timestamps:
00:00:00 - Intro
00:01:00 - Project setup
00:04:27 - Background creation
00:24:59 - Creating the ground
00:32:57 - Creating the plane
00:55:24 - Creating the obstacles
01:16:39 - Score and game over menu
01:37:18 - Adding sounds  

Project files:
https://github.com/clear-code-projects/FlappyBird 

Pastebin:
main.py (at the start): https://pastebin.com/CsKbCZFL
main.py (at the end): https://pastebin.com/Zz745pW6
settings.py: https://pastebin.com/dGjjEMUP
sprites.py: https://pastebin.com/vA43b7bS

Creating a Flappy Bird Clone in Python / Pygame

More Creators