How to scale multiple images with a for loop?
How to scale multiple images with a for loop? Question: I’m trying to use a for-loop to iterate through a list of self classes. I want to give each one the same scale. def __init__(self): pygame.sprite.Sprite.__init__(self) self.image = pygame.image.load("Migue/m_normal.png") self.quieto = pygame.image.load("Migue/m_normal.png") self.andando = pygame.image.load("Migue/m_andando_normal.png") self.image = pygame.transform.scale(self.image, sizenorm) states = [self.quieto, self.andando] for i …