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

Re: [pygame] surfarray slicing and collision detection



> I don't know why but if I don't call the convert method of the
> subsurface in the method _colorkeyArrayFor I'll get an ValueError
> saying that the surface is locked when I try to blit the sprite
> surface to the backbuffer. Anyway it works fine for now even if
> I have to make the extra copy (with convert).

it looks like you are making a subsurface of a subsurface.
i've never tested that sort of situation out, so my guess is there
is a problem with pygame. should be easy enough to get working.


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