Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Resize some images
- def resizeImage(sprite, newSize):
- towerSprites[sprite]['Image'] = pygame.transform.scale(towerSprites[sprite]['Image'], newSize)
- towerSprites[sprite]['Dimensions'] = Vector2(newSize)
- resizeImage('Pawn0', (70, 70))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement