xlog, quit, stab, wip objects
This commit is contained in:
parent
a0cebd89fb
commit
711ea155ac
3 changed files with 114 additions and 34 deletions
9
xlog.py
Normal file
9
xlog.py
Normal 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))
|
||||
Loading…
Add table
Add a link
Reference in a new issue