diff --git a/res/pricedown.otf b/res/pricedown.otf new file mode 100644 index 0000000..f06a2be Binary files /dev/null and b/res/pricedown.otf differ diff --git a/src/sim/uiHelpers.py b/src/sim/uiHelpers.py index 82b436d..c5fab9c 100644 --- a/src/sim/uiHelpers.py +++ b/src/sim/uiHelpers.py @@ -82,8 +82,8 @@ class SimUI: self.screen.blit(textObj, text_rect) def gameover(self, time): - font_g = pygame.font.SysFont(None, 128) - self.centeredText(font_g, "WASTED", "red", 120) + font_g = pygame.font.Font("res\\pricedown.otf", 128) + self.centeredText(font_g, "wasted", "red", 150) self.centeredText(font_m, f"You controlled the pendulum for {time / 1000} seconds", "black", 80) self.centeredText(font_m, "Press space to restart", "black", 60)