ویدیوی ویژه

The ultimate introduction to Pygame

15 ژانویه 2023·آموزش·03:47:58

نمایش
Education
Education
1

The ultimate introduction to Pygame

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: https://github.com/clear-code-....projects/UltimatePyg

Link to the background music: https://opengameart.org/content/5-chiptunes-action
Link to the artwork: https://opengameart.org/conten....t/platformer-art-pix

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

همرسانی

محبوب ها همه


ویدئو کوتاه (Shorts) همه


جدیدترین ویدیوها همه


فیلم و انیمیشن همه

MovieWorld
375 مشاهده · 1 سال پیش
MovieClip
74 مشاهده · 2 سال پیش
AnimationTrailers
912 مشاهده · 3 سال پیش
AnimationTrailers
989 مشاهده · 3 سال پیش
AnimationTrailers
1,262 مشاهده · 3 سال پیش
AnimationTrailers
559 مشاهده · 3 سال پیش
AnimationTrailers
666 مشاهده · 3 سال پیش
AnimationTrailers
466 مشاهده · 3 سال پیش
AnimationTrailers
999 مشاهده · 3 سال پیش

موسیقی همه