Zooming in and out of a PyGame window with all objects still in place
问题 I am having an issue with PyGame i can't resolve. So: my idea is that I have a map I can zoom in/out on. zooming in works fine. But zooming out shows that the rest of the picture got deleted and only the part of the image that was previously visible on the window exists now. This is my code: import pygame from pygame.locals import * import os class App: def __init__(self): self.running = True self.size = (800,600) #create window self.window = pygame.display.set_mode(self.size, pygame