main.py aktualisiert
This commit is contained in:
2
main.py
2
main.py
@@ -638,7 +638,7 @@ async def show_game_over(score):
|
||||
overlay.fill((0, 0, 0))
|
||||
screen.blit(overlay, (0, 0))
|
||||
font_big = pygame.font.SysFont(None, 72)
|
||||
message = f"Spiel beendet! Punkte: {int(score)}%"
|
||||
message = f"Spiel beendet! Punkte: {int(score)}%. Drücke die Leertaste um deine Punkte zu übermitteln."
|
||||
text = font_big.render(message, True, (255, 255, 255))
|
||||
screen.blit(text, (SCREEN_WIDTH // 2 - text.get_width() // 2, SCREEN_HEIGHT // 2 - text.get_height() // 2))
|
||||
pygame.display.flip()
|
||||
|
||||
Reference in New Issue
Block a user