[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Can't use BLEND_*



On, Sat Feb 23, 2008, 110110010 wrote:

[Trying to use BLEND_* with Surface.blit] 
> But it raises me this:
>   File "C:\Documents and Settings\Hornychovi\Plocha\Novy1.py", line 8, in <module>
>     s.blit(img,(0,0),None,1)
> TypeError: function takes at most 3 arguments (4 given)
> 
> can somebody help me? Any solutions? ... Please help :) Thank you :)

Make sure, you are using the 1.8 branch of pygame, not 1.7.1 as the
BLEND_* arguments are an upcoming new feature.

Regards
Marcus

Attachment: pgp2adCsFdAGj.pgp
Description: PGP signature