Initial commit

This commit is contained in:
Pascal Engélibert 2024-10-12 12:56:06 +02:00
commit 4d6911cb29
3 changed files with 37 additions and 0 deletions

9
xlog.py Normal file
View file

@ -0,0 +1,9 @@
import pygame
pygame.font.init()
font = pygame.font.SysFont('FreeMono', 16)
def display(surface, lines):
for i in range(len(lines)):
surface.blit(font.render(lines[i], False, (255,255,255)), (0, i*20))