Creating a Flappy Bird Clone in Python / Pygame

Опубликовано: 02 Ноябрь 2024
на канале: Clear Code
59,229
1.1k

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

If you want to support me:   / clearcode  
(You also get lots of perks)

Social stuff:
Twitter -   / clear_coder  
Discord -   / discord  

Related videos:
Introduction to Pygame:    • The ultimate introduction to Pygame  
Deltatime:    • Understanding framerate independence ...  
Masks:    • Understanding Pygame masks  

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-project...

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