def make_sprite(self, key, coordx, coordy, x=40, y=25):
        spritesheet = setup.GFX[key]
        surface = pg.Surface((32, 32))
        surface.set_colorkey(c.BLACK)
        image = self.get_image(coordx, coordy, 32, 32, spritesheet)
        rect = image.get_rect()
        surface.blit(image, rect)

        surface = pg.transform.scale(surface, (192, 192))
        rect = surface.get_rect(left=x, top=y)
        sprite = pg.sprite.Sprite()
        sprite.image = surface
        sprite.rect = rect

        return sprite
Return a resource corresponding to an issue from this repo.
dataset/ETHPy150Open justinmeister/The-Stolen-Crown-RPG/data/states/player_menu.py/Player_Menu.make_sprite--crossover with--dataset/ETHPy150Open ducksboard/libsaas/libsaas/services/bitbucket/repositories.py/Repo.issue