Make Games with Python and PyGame - PyGame Thursdays 1

preview_player
Показать описание
In this video we'll start to learn how to build games in Python with PyGame!

We'll install PyGame and start to build a basic game that allows the user to move a dot around a screen.

I'll show you the basic setup and loop for games with PyGame and Python.

#pygame #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:28 - Create a Virtual Environment
2:25 - Pip Install Pygame
3:08 - Import PyGame and Setup
4:09 - Define A Clock
4:50 - Set Dt and Player_Pos
6:13 - Running While Loop
7:22 - Quit Event
8:38 - Set Screen Color
9:05 - Create A Circle
10:21 - Move The Circle Around The Scren
13:14 - Flip The Display
13:36 - Account For DT
14:28 - Fix Errors
14:58 - Run The Game
15:30 - Make The Circle Bigger
16:00 - Change Movement Amount
16:50 - Make Background Red
17:17 - Conclusion
Рекомендации по теме