Creating a Flappy Bird Clone in Python / Pygame

  Рет қаралды 60,941

Clear Code

Clear Code

Күн бұрын

Пікірлер: 42
@ahem1190
@ahem1190 2 жыл бұрын
Another great tutorial! Thanks for all the content, my programming journey is off to a fun start because of your work.
@CodingIsFun
@CodingIsFun 2 жыл бұрын
This looks great! Thank you for the tutorial! 👍
@tomkmb4120
@tomkmb4120 2 жыл бұрын
Great tutorial, thanks so much. It just goes to show how such a 'simple' game seemingly to the user can still require a lot of thought, consideration and planning for what it is.
@pranavxd4606
@pranavxd4606 2 жыл бұрын
Love your videos. Especially your cloning and ursina. Love to see more of ursina though!!!
@yourlinuxguy
@yourlinuxguy Жыл бұрын
Really Nice, video and clean code.
@gawan3390
@gawan3390 2 жыл бұрын
Amazing video as always! Keep the nice work up! :D
@sonoel97
@sonoel97 8 ай бұрын
Really neat joke there in 7:51, caught me off guard 🤣
@mouadhachemi8051
@mouadhachemi8051 2 жыл бұрын
At 1:05:46 is that a new way of creating timers? or should I still use the method you explained in your Creating timers video?
@sudeshmalhotra848
@sudeshmalhotra848 2 жыл бұрын
Very good tutorial but can you make a video for the road map of python so that I will not be confused while learning it
@sulai2279
@sulai2279 2 жыл бұрын
Hey love your videos! Got a question what's the purpose of the Game class? isn't the same to write that part of the code outside of a class?
@centycebra4447
@centycebra4447 2 жыл бұрын
then you wont be able to use self. and also it makes the code cleaner and easier to access specific parts like if he wrote the rotate and animate code without classes it would be very complex to store all that code in variable because you cant call just some specific code you need to have a var or class for it hopefully you understand it
@بشارحسان-س3ق
@بشارحسان-س3ق 2 жыл бұрын
omg thanks
@sylvanfranklin6904
@sylvanfranklin6904 2 жыл бұрын
You deserve way more views. Honestly I think pygame is just a very niche topic and it’s hurting your growth (not that I mind, but I want you to succeed)
@sakthisivanesh6880
@sakthisivanesh6880 2 жыл бұрын
Pls make vedio on how to convert py files into apk and exe
@patrickslomian7423
@patrickslomian7423 2 жыл бұрын
Hi , do you use an website to get the animations , or do you make them yourself ? Can you recommend a website for someone who doesn't want to play with Photoshop for example ?
@yourlinuxguy
@yourlinuxguy Жыл бұрын
Hey pal, did you find any of those websites your talking about?
@patrickslomian7423
@patrickslomian7423 Жыл бұрын
@@yourlinuxguy hey, nope :(
@lifegoesmon1066
@lifegoesmon1066 2 жыл бұрын
what codes can i add to create an intro screen?
@JoelSantos75
@JoelSantos75 2 жыл бұрын
cool
@alphhs5260
@alphhs5260 2 жыл бұрын
Is it different video than the one you had unlisted?
@jampong1562
@jampong1562 Жыл бұрын
how to fix no module named pygame??
@anantchandak9574
@anantchandak9574 2 жыл бұрын
hey can you just make ursina game engine tutorial like you have done for pygame pls this video is too amazing
@qqlez
@qqlez 2 жыл бұрын
he's made 2 ursina tutorials here is the first one: kzbin.info/www/bejne/enm2g5SMmrarf80
@lashprod9656
@lashprod9656 2 жыл бұрын
what do you use to code?
@qqlez
@qqlez 2 жыл бұрын
he uses: language: python with pygame module text editor/IDE: sublime
@amburger1984
@amburger1984 2 жыл бұрын
FIRST
@erentu2834
@erentu2834 2 жыл бұрын
why not in Ursina engine :( ?
@sbinti1152
@sbinti1152 2 жыл бұрын
yoo nice shit ma bui
@grafaelzs9726
@grafaelzs9726 2 жыл бұрын
please make a metroidvania game
@sgblitzplayz2027
@sgblitzplayz2027 2 жыл бұрын
Second
@thomaspfaff1074
@thomaspfaff1074 2 жыл бұрын
I got an error with the scale factor. full_height = bg_image.get_height () * scale_factor full_width = bg_image.get_width () * scale_factor full_sized_image = pygame.transform.scale (bg_image, (full_width, full_height)) ->TypeError: integer argument expected, got float in line full_sized_image Your github game has also an error. Sorry Game over!
@ClearCode
@ClearCode 2 жыл бұрын
I think the issue is that you are running an older version of pygame. If you want to fix it, change the last line to: full_sized_image = pygame.transform.scale (bg_image, (int(full_width), int(full_height)))
@thomaspfaff1074
@thomaspfaff1074 2 жыл бұрын
@@ClearCode Yes, really. If updated Pygame and now this problem is over. Thank you. It works
@informallogic6388
@informallogic6388 2 жыл бұрын
@@thomaspfaff1074 No dice! I'm getting a similar issue, TypeError: 'float' object cannot be interpreted as an integer I've attempted full_height_int = math.ceil(full_height) full_width_int = math.ceil(full_width) full_sized_image = pygame.transform.scale(bg_image, (int(full_width_int), int(full_height_int))) ValueError: size needs to be (number width, number height) even full_width_int_doubled = (full_width_int * 2) self.image = pygame.Surface(full_width_int_doubled, full_height_int) ValueError: size needs to be (number width, number height) Fully updated pygame via pip
@HarbingerSh
@HarbingerSh 2 жыл бұрын
you shouldn't multiply gravity by delta twice
@aprameyarayabhari6558
@aprameyarayabhari6558 2 жыл бұрын
third
@nicklansbury3166
@nicklansbury3166 2 жыл бұрын
Ninth 😉
@pirachithbastian2452
@pirachithbastian2452 2 жыл бұрын
KSI
@pirachithbastian2452
@pirachithbastian2452 2 жыл бұрын
Pirachith Bastian
@atampreethothi3302
@atampreethothi3302 2 жыл бұрын
@@pirachithbastian2452 Atampret
@АдилбекДинмухаммед
@АдилбекДинмухаммед Жыл бұрын
The author, please, I'm from Kazakhstan, I seem to have done everything right, but they say that there are no such game = Game () in the images folder. Can I contact you?
Can AI code Flappy Bird? Watch ChatGPT try
7:26
candlesan
Рет қаралды 9 МЛН
2 YEARS of PYTHON Game Development in 5 Minutes!
4:54
Coding With Russ
Рет қаралды 993 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Learning pygame by creating Snake [python tutorial]
2:05:00
Clear Code
Рет қаралды 382 М.
The Genius Way Computers Multiply Big Numbers
22:04
PurpleMind
Рет қаралды 95 М.
IMPOSSIBLE Rated Bot!! Meet the Magni!!
34:09
GMHikaru
Рет қаралды 648 М.
I Made Chess 2.0
14:32
From Scratch
Рет қаралды 1,3 МЛН
Why Majora's Mask's Blue Dog Took 25 Years to Win the Race
21:04
Vidya James
Рет қаралды 2,4 МЛН
I Redesigned the ENTIRE YouTube UI from Scratch
19:10
Juxtopposed
Рет қаралды 951 М.
Breakout in python
3:21:21
Clear Code
Рет қаралды 66 М.
Learn Pygame by creating Flappy Bird in 20 MINUTES
22:08
Sai Anish Malla
Рет қаралды 32 М.
Understanding decorators [Python tutorial]
42:31
Clear Code
Рет қаралды 26 М.
Running "Hello World!" in 10 FORBIDDEN Programming Languages
18:07
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН