Перейти к содержимому

Python OOP with Pygame #1: The Game Window and Main Loop

JB Computer Science

0:00 / 0:00

Python OOP with Pygame #1: The Game Window and Main Loop

20 просмотров · 6 часов назад
JB Computer Science
1,51 тыс. подписчиков
20 просмотров · 6 часов назад
In this first video of the Ball Drop series, we set up Pygame and create the window our game will run in. You'll learn: How to install and import Pygame What constants are and why we write them in UPPER_CASE How colours work as RGB tuples The main game loop: input, logic, output Why we use a clock to keep the game at a steady frame rate How to close the window cleanly with the X button or ESC By the end you'll have an empty game window, ready for us to add objects in the next video. #Python #Pygame #OOP #ComputerScience #LearnToCode