pygame is
pygame.org is
|
SpritePacker.py
SpritePacker.py - 1.0Beerman (beerman)Tags:DescriptionThe SpritePacker class takes a folder of sprites and generates the following:
Example texmap.py file using various Sheep Snaggers sprites:
texmap = {
'kisschicklogo' : [0, 0, 500, 300],
'ming' : [501, 0, 202, 162],
'ship' : [704, 0, 32, 32],
'alien' : [737, 0, 32, 32],
'alien_shadow' : [770, 0, 32, 32],
'fighter' : [803, 0, 32, 32],
'sheep' : [836, 0, 32, 32],
'star' : [869, 0, 20, 20],
'star2' : [890, 0, 20, 20],
'bullet' : [911, 0, 4, 4],
'beerman_logo' : [0, 301, 477, 305],
}
Links
ScreenshotReleases
Pygame.org account CommentsIf you wish to leave a comment with your pygame.org account, please sign in first.
|
|