High Definition Standard Definition Theater
Video id : AY9MnQ4x3zk
ImmersiveAmbientModecolor: #ddf1f0 (color 1)
Video Format : 22 (720p) openh264 ( https://github.com/cisco/openh264) mp4a.40.2 | 44100Hz
Audio Format: Opus - Normalized audio
PokeTubeEncryptID: b4360acc8ae6e9fd91b57c3293d98350ae7ffe0d7fa1244347f4135458f9c454e6ae9320d9923f6c6afcf066828b6ed5
Proxy : eu-proxy.poketube.fun - refresh the page to change the proxy location
Date : 1715484537734 - unknown on Apple WebKit
Mystery text : QVk5TW5RNHgzemsgaSAgbG92ICB1IGV1LXByb3h5LnBva2V0dWJlLmZ1bg==
143 : true
The ultimate introduction to Pygame
Jump to Connections
2,263,108 Views • Jul 11, 2021 • Click to toggle off description
In this tutorial you will learn to create a runner game in Python with Pygame. The game itself isn't the goal of the video. Instead, I will use the game to go through every crucial aspect of Pygame that you need to know to get started. By the end of the video, you should know all the basics to start basically any 2D game, starting from Pong and ending with the first generation of Doom and Wolfenstein

Link to the project folder: github.com/clear-code-projects/UltimatePygameIntro

Link to the background music: opengameart.org/content/5-chiptunes-action
Link to the artwork: opengameart.org/content/platformer-art-pixel-editi…

Timestamps
0:00:00 intro
0:01:06 How games work
0:05:06 What Pygame does
0:08:08 Creating a blank window (+ clock)
0:22:07 Displaying images (with surfaces)
0:42:22 Basic animations
0:51:28 Rectangles
1:03:47 Collisions with rectangles (+using the mouse)
1:15:38 Drawing with rectangles (+colors)
1:29:35 The player character 1: Keyboard input
1:35:58 The player character 2: Jumping & Gravity
1:44:23 The player character 3: Creating a floor
1:48:17 Creating different game states
1:56:03 Displaying the score (+measuring time)
2:06:15 Transforming surfaces
2:23:50 Better enemy spawn logic (with timers)
2:49:33 Animating the player, the snail and the fly
3:09:01 Using the sprite class (OOP in Pygame)
3:42:57 Adding music
Metadata And Engagement

Views : 2,263,108
Genre: Education
Date of upload: Jul 11, 2021 ^^


Rating : 4.947 (501/37,305 LTDR)
RYD date created : 2022-04-09T21:51:20.35086Z
See in json
Tags
Connections
Nyo connections found on the description ;_; report a issue lol

YouTube Comments - 1,868 Comments

Top Comments of this video!! :3

@dennisjeske3629

2 years ago

I just turned 60, I've been a technologist my entire adult life and have taught many "programming" courses (proprietary languages) for several fortune 100 companies but I'm relatively new to Python. I have to admit my first thought was, this person has a lot of nerve putting out an almost 4 hour video on the subject. I have to admit, when you're good, you're good and you are really good. I did the entire 3:47:57 over the course of 3 days and I got lost one time, init instead of double underscores __init__. That's it. That was the one thing I screwed up, otherwise I learned a ton of new stuff and I'm, really pleased with how it all worked out. In my experience, it's pretty rare in these type of videos for the finished product to look like the author intended but you nailed it. Can't wait to learn more from you. Thanks! All the best, Dennis.

729 |

@BrunoVisnadi1

2 years ago

Gravity in the real world makes objects to fall quadratically, not exponentially. Your implementation of gravity is actually physically accurate.

1.1K |

@alexc1485

8 months ago

Love that you release an amazing, 4 hour tutorial like this and it just ends abruptly with, 'so I hope that was helpful' 😆

21 |

@somethingwrong2595

1 year ago

I can't believe that you actually uploaded this free for everyone. This is one of the greatest tutorials I've ever seen. Thank you 💜

87 |

@MachineVersatile

2 years ago

Seriously you do great job because: + explaining logical parts on seperate screen and then go into implententing + you make a chance to code by yourself + you just use simple drawing on screen to make code and logical parts more understandable + video is split on some smaller parts + tempo is accurate

714 |

@Ouvii

2 years ago

Hahaha, how is it so hard to find programming education like this: the teacher actually spends time explaining concepts instead of explaining lines of code with fruits, colors, and animals while glossing over important material. You are a godsend.

98 |

@gabymaymo8482

2 years ago

46 minutes, I am coding along the video. This is already my new favourite channel of youtube man ! The clarity of speech. The time given for self exercises. This channel is too much !! You are the boss

49 |

@nickk1624

1 year ago

you're the bestest best person in this world. this is amazing.

3 |

@melloirl

2 years ago

Never before have i experienced such a fun and pleasuring learning experience on any kind of video tutorial ever. I can only thank you for you effort, this is now to me the definition of quality content.

345 |

@mixlaproduction

2 years ago

The quality of your videos is out of this world CC! Relaxing, valuable and the way you explain things is top notch. I'd like to see a short 2D dungeon-like RPG level game idea with a simple scene changing - that would be a challenge :D P.S. I miss your background tutorial music you used in flappy bird ^^

745 |

@grandparick3176

7 months ago

Your videos literally seems like magic. It's amazing how you go step by step on each process and also give us exercises to try on our own. I hope you keep making more videos and your channel grows exponentially.

15 |

@Josh5698

6 months ago

this video has explained Python better to me than 3 months of university lectures

4 |

@robertmanigault625

2 years ago

I just discovered this tutorial. I'm only 47:46 into the video and I can already tell that this is by far the best video tutorial I've seen to date on YouTube. The presenter is clear and concise. He explains what is going on in the program/code without being overly technical or simplistic. I'm a fairly good Python programmer and decided to expand my knowledge into game development. All I can say is "Wow!" I'm looking forward to completing the entire tutorial.

44 |

@OrangeDied

2 years ago

This is one of the best tutorials I've watched. He explains everything and makes it really easy to visualize how it works, and different ways to use it. This is one of the few long tutorials I've followed to the end, and I enjoyed every second of it. 10/10, would recommend.

50 |

@ayanhaider5579

1 year ago

Never have I even paid this much attention to an online video tutorial. thanks for making it easy to understand. keep up the good work!

6 |

@ddonnie

11 months ago

(note for myself) 1:10:00 mouse stuff 2:23:50 enemy logic 2:50:00 animation

80 |

@thenamesloca

2 years ago

I started at a more difficult tutorial of yours that I was loving but could not get past an issue I was running into. Starting back from the beginning and solidifying the basics with this video helps so much. From all the videos of yours I've followed I have always loved how clearly you explain these concepts. You make it easy to understand! Thank you for all your videos! I can tell I'm learning especially when there is an urge to clean up the code while working through it, when at one point I didn't even know that was a thing!

16 |

@Jack_______oh

1 year ago

I'm halfway through and I really appreciate your teaching style. You move quickly but explain everything and why you're doing it. I'm trying to make a top down RPG game so I find it helpful to learn from a tutorial that's doing something different so i have to actually think about the concepts.

9 |

@therealdyer

2 years ago

This is absolutely fantastic. So well explained. Slowly but interestingly dealt with and so I feel like I'm actually learning fundamentals and can come back to this on my own at a later date and actually create my own stuff! I'm so happy that this has so many (well deserved) likes and views. Thank you.

39 |

@randomstufdude

1 year ago

I love the way you structure your videos. its like ok i just taught you and showed you now you try to do this part on your own, and guess what, i did it on my own.

10 |

Go To Top