From 2279af915942bc001c38fdcebfb8247d7c06f3e2 Mon Sep 17 00:00:00 2001 From: SallarShayegan Date: Mon, 24 Feb 2025 23:21:56 +0100 Subject: [PATCH] outsourced the fonts to a new module --- fonts.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 fonts.py diff --git a/fonts.py b/fonts.py new file mode 100644 index 0000000..6a071f7 --- /dev/null +++ b/fonts.py @@ -0,0 +1,6 @@ +import pygame + +pygame.font.init() + +font_helvetica = pygame.font.SysFont('Helvetica', 30) +font_helvetica16 = pygame.font.SysFont('Helvetica', 15) \ No newline at end of file