Извините, у нас телепаты в отпуске из-за изоляции, не могли бы вы показать нам код? Спасибо!
import pygame
class tetx():
def print_text(display_surface,message, x, y, font_color = (255, 255, 0), font_type = 'don.ttf', font_size = 50):
font_type = pygame.font.Font(font_type, font_size)
text = font_type.render(message, True, font_color)
display_surface.blit(text, (x, y))