[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

R: [pygame] Someone could help me??



Hi guys,
I understand how to use Sprites and Group (I hope!) and now I need
someone who help me in this thing:
I got ain image like this:

|1|2|3|4|5|6|7|8|9|10|11|12|

where every number represents a frame...
my image is 288x32...I need e function that buil a list like this:
list = [
[(image1,rect1),(image2,rect2),(image3,rect3)]
[(image4,rect4),(image5,rect5),(image6,rect6)]
[(image7,rect7),(image8,rect8),(image9,rect9)]
[(image10,rect10),(image11,rect11),(image12,rect12)]
]

I built a function, but it doesn't work 'cause the background of the
image loaded (which would be transparent), cover my background image...I
tried to set colorkey getting colour at (0,0)...but I see only my image
with as black background...

____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org