Загрузка...

Adding Text To Your Game - PyGame Thursdays 5

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

Видео Adding Text To Your Game - PyGame Thursdays 5 канала Codemy.com
Яндекс.Метрика

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять