Adding Text To Your Game - PyGame Thursdays 5

Codemy.com
Codemy.com
1.3 هزار بار بازدید - 10 ماه پیش - In this video I'll show
In this video I'll show you how to add text to your game in Pygame with Python.

Adding, or Blitting, text to your pygame game is very similar to adding images.

In fact, it's almost exactly the same!  I'll show you how in this video...

#pygame #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:30 - Display all the System Fonts
2:56 - Install Non-System Font
4:45 - Define Fonts
5:56 - Render The Text
7:40 - Create Rect
8:23 - Position The Text
9:16 - Blit The Text Onto The Screen
10:12 - Center The Text
10:38 - Image Over Text
11:26 - Conclusion
10 ماه پیش در تاریخ 1402/08/04 منتشر شده است.
1,382 بـار بازدید شده
... بیشتر