|
@ -46,13 +46,13 @@ MENU_PADDING = screen_scale_w(10, screen_scale_factor_w) |
|
|
HEART_POS_X = screen_scale_w(1700, screen_scale_factor_w) |
|
|
HEART_POS_X = screen_scale_w(1700, screen_scale_factor_w) |
|
|
HEART_POS_Y = screen_scale_h(700, screen_scale_factor_h) |
|
|
HEART_POS_Y = screen_scale_h(700, screen_scale_factor_h) |
|
|
|
|
|
|
|
|
DISPLAYSURF = pygame.display.set_mode((screen_scale_w(1920, screen_scale_factor_w), screen_scale_h(1080, screen_scale_factor_h))) |
|
|
DISPLAYSURF = pygame.display.set_mode((screen_scale_w(1920, screen_scale_factor_w), screen_scale_h(1080, screen_scale_factor_h)), pygame.FULLSCREEN) |
|
|
DISPLAYSURF.fill(WHITE) |
|
|
DISPLAYSURF.fill(WHITE) |
|
|
pygame.display.set_caption("Game") |
|
|
pygame.display.set_caption("Game") |
|
|
|
|
|
|
|
|
pygame.font.init() |
|
|
pygame.font.init() |
|
|
my_font = pygame.font.SysFont("Arial", 30, bold=True, italic=False) |
|
|
my_font = pygame.font.SysFont("Arial", screen_scale_w(30, screen_scale_factor_w) , bold=True, italic=False) |
|
|
you_died_font = pygame.font.SysFont("Arial", 300, bold=True, italic=False) |
|
|
you_died_font = pygame.font.SysFont("Arial", screen_scale_w(30, screen_scale_factor_w), bold=True, italic=False) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
exit_text_surface = my_font.render("Exit", False, TEXT_COLOR) |
|
|
exit_text_surface = my_font.render("Exit", False, TEXT_COLOR) |
|
|