here is the code with my problem:

#############################

class basicsprite(pygame.sprite.Sprite): #create a sprite class
    def __init__(self, img, scalev=(0,0)):
        pygame.sprite.Sprite.__init__(self)
        self.image = pygame.image.load(img).convert_alpha()
        if scalev == (0,0):
            pass
        else:
            pygame.transform.scale(self.image, scalev)
        self.rect = self.image.get_rect()
    def reset(self):
        self.rect = self.image.get_rect()

redcar = basicsprite("redcar.png", (2,2))
#########################


however, even though i'm creating the sprite redcar with a the scalev argument 
of (2,2), the image isn't scaled when i draw it from it's sprite canister. Why 
is this?


      

Reply via email to