diff --git a/gametest.py b/gametest.py index f706fce..5bc1915 100644 --- a/gametest.py +++ b/gametest.py @@ -34,8 +34,8 @@ mainFontColor = greenColor #fonts font1 = pygame.font.Font('freesansbold.ttf', 90) font2 = pygame.font.Font('freesansbold.ttf', 65) -font3 = pygame.font.Font('freesansbold.ttf', 45 -) +font3 = pygame.font.Font('freesansbold.ttf', 45) + # preset highscores hs1_name = "Fritz" @@ -207,19 +207,19 @@ while True: # main loop highscore_header_surface = font2.render('Highscores:', True, mainFontColor) highscore_header_rectangle = highscore_header_surface.get_rect() - highscore_header_rectangle = (670, 410) + highscore_header_rectangle = (680, 410) score1_surface = font3.render(hs1_name + ": " + str(hs1_time) + 's', True, yellowColor) score1_rectangle = score1_surface.get_rect() - score1_rectangle.topleft = (670, 500) + score1_rectangle.topleft = (720, 520) score2_surface = font3.render(hs2_name + ": " + str(hs2_time) + 's', True, grayColor) score2_rectangle = score2_surface.get_rect() - score2_rectangle.topleft = (670, 590) + score2_rectangle.topleft = (720, 610) score3_surface = font3.render(hs3_name + ": " + str(hs3_time) + 's', True, brownColor) score3_rectangle = score3_surface.get_rect() - score3_rectangle.topleft = (670, 680) + score3_rectangle.topleft = (720, 700) screen.blit(header_surface, header_rectangle) screen.blit(highscore_header_surface, highscore_header_rectangle)