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

Re: [pygame] No alpha-blending for Surface.fill?



Im having problems with Geany using pygame.
The same script worked with IDLE......
 
Its a keycommand thats throwing an error or exception.
its  giving me an Assertion error? to my movement lines
Assertion error: must be a float
idk what this means im using Vector2 for key direction

On Mon, Nov 3, 2008 at 5:34 PM, claudio canepa <ccanepacc@xxxxxxxxx> wrote:


On Mon, Nov 3, 2008 at 11:02 AM, "Jørgen P. Tjernø" <jorgen@xxxxxxxxxx> wrote:
Is there no alpha-blending for Surface.fill? The blendmodes are poorly documented, but AFAICT from the source, the blend modes only do channel-channel operations (dst_r = ra+rb, dst_g = ga+gb, etc) - nothing to do alpha blending?

If not, are there plans to add new modes to fill? :)

--
Kindest regards, Jørgen P. Tjernø
pygame 1.8.1release has a bug relating to fill, maybe fixed in svn. Look at this thread for details:
 
http://thread.gmane.org/gmane.comp.python.pygame/15808/focus=15869
 
--
claxo