Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

monitor_size = [pygame.display.Info().current_w, pygame.display.Info().current_h]

screen = pygame.display.set_mode((monitor_size[0], monitor_size[1]), pygame.FULLSCREEN)

SCREEN_WIDTH, SCREEN_HEIGHT = monitor_size

scale = SCREEN_HEIGHT // 350


I've done this in some of my newer games, which I believe achieves a similar effect, but this way I can use the monitor size to do other things and scale objects respectively.