Wasted
This commit is contained in:
parent
dc233122a2
commit
476c89967e
BIN
res/pricedown.otf
Normal file
BIN
res/pricedown.otf
Normal file
Binary file not shown.
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user