This commit is contained in:
Arne van Iterson 2023-12-06 21:24:11 +01:00
parent dc233122a2
commit 476c89967e
2 changed files with 2 additions and 2 deletions

BIN
res/pricedown.otf Normal file

Binary file not shown.

View File

@ -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)