My program runs natively in a smaller resolution due to some mistakes when first creating it. I am unfortunately far beyond the point of resizing all assets manually, and wanted to create the option to fullscreen using pygame’s built in methods.
def update_screen():
unscaled_drawing_window = pygame.transform.scale(drawing_surface.copy(),pygame.display.get_surface().get_size())
drawing_window.blit(unscaled_drawing_window, (0,0))
pygame.display.update()
I use this in combination with blitting onto the drawing_surface beforehand. Unfortunately using this method, everything in fullscreen is approximately 1 full second slower than unfullscreened. I understand updating the screen and scaling can lag, however I have animations using pygame.transform.scale elsewhere in the game that don’t lag even in windowed mode.
Are there any other methods possible to help make the full screen speed match the windowed version? I’m on version 2.6.0 of pygame, all images are converted to alpha, and they get loaded only one time when entering a section. Any help is appreciation.