How to Program Flappy Bird in Python using PyGame! Endless Runner/Jumper Game Code Tutorial!

preview_player
Показать описание
In this video we recreate the viral endless running and jumping iOS game Flappy Bird!

We start from scratch and teach building the entire game in under an hour! Start by importing the PyGame module, create endless randomly spawned obstacles, handle event collision and jump control, then track scoring and game over and restart events!

Please leave a like on the video and subscribe to the channel if you found this useful and have been enjoying the content!

If you have any questions or comments be sure to let me know in the comments below and I'll get back to you as soon as I can! Let me know what you want to see in a future video!

Thanks for watching and good luck with your code!
Рекомендации по теме
Комментарии
Автор

Loved everything about this video, the tutorial was easy to understand, it was fun to make and overall an amazing project!

proudobama
Автор

Wow, I thought this would be easy but not this easy, thanks for the tutorial!I think I have finally mastered for loops!

willwillcode
Автор

Brillinat video. Im learning and still dont understand everything but you make it so much easier to understand.

Paul-lypw
Автор

A question in line 24 - 28 when I enter x_pos and y_pos values it is showing error and asking to replace by == when I do that all the characters are going to top left Is there any solution? Please reply as fast as possible

maruthinageswararao
Автор

hi, when i put the code for player, the player isnt showing in the pygame screen

avyaksh-bl
Автор

can u pls tell how to make a code that requires you to click the space bar to start before the game

dhivyasoft
Автор

i’ve tried to implement the stars into my own runner game which is very similar to you first runner game with the squares but it doesn’t work it says that line with pygame.draw.rect it says the list index is out of range and i’m not sure how to solve it can it still work outside of this game?

devzo
Автор

Can you please tell me how to add freesanbold font into directory

deeksha
Автор

thank you very much for tutorial, but i have not understand which type of music you put in pycharm and how did you do that?

reformaza
Автор

how to solve this error that i experienced thank you dict object has no attribute 'append'

abilgaming
Автор

What numbers do I put for player_x and player_y on mobile?

snakearmz
Автор

Awesome content! I have a question though, how would I stop the background music and play a different music (like a death sound) when game over?

JohnB-dijm
Автор

One question, is there anyway to make the game go faster? Maybe that the bird moves faster forward?

ST-szob
Автор

as soon as i run the code after minute 16.00, the bird always fly up and dissapear. Why is that happening?

Aurum_Hat
Автор

hi can u pls make a short video of the final code

saeeshaverma
Автор

Great content! I was wondering how can I also add a Jump sound effect when the player jumps (when the space bar is pressed)

The idea I had was to store what I was coding into a variable but I wasn't exactly sure how! and just return the variable inside the 'if... and not game_over' statement if that's the right approach.

Thanks for help :)

rakoahmed
Автор

Great video, how do I get multiple stars? I seem to only get 1 haha.

liamwyatt
Автор

Please leave the code in the description
❤❤❤



gertanksanimation
Автор

hi the collisions aren"t working for me

Electrodee
Автор

Hi, could you please upload the source code

luji