Add font scaling

This commit is contained in:
Correl Roush 2020-09-04 23:14:47 -04:00
parent f2a2424405
commit 04cfc613d4

View file

@ -108,7 +108,7 @@ def main():
screen.fill((0, 0, 0))
# Initialise font support
pygame.font.init()
font = pygame.font.Font(pygame.font.get_default_font(), 15)
font = pygame.font.Font(pygame.font.get_default_font(), int(20*HEIGHT/720))
# Render the screen
pygame.display.update()