How would one scale a sprite's image to be bigger or smaller? I can change the rect and all, but not the image.
Code:(though i'm not sure why you would need it for this)
class test(pygame.sprite.Sprite):
def __init__(self):
pygame.sprite.Sprite.__init__(self)
self.image = pygame.image.load("testImage.png").convert()
self.image.set_colorkey((255,255,255))
self.rect = self.image.get_rect()
Have you tried
Official documentation notes that you should use this syntax:
Read about pygame's transform module: http://www.pygame.org/docs/ref/transform.html