Re: [pygame] [BUG] blend modes and rotated images not respecting color key or maybe alpha.
by Dr0id other posts by this author
Aug 10 2007 6:31AM messages near this date
[pygame] [BUG] blend modes and rotated images not respecting color key or maybe alpha.
|
Re: [pygame] [BUG] blend modes and rotated images not respecting color key or maybe alpha.
Ren� Dudfield schrieb:
> Hi,
>
> DR0ID, do you have a script which demonstrates this bug?
>
> Or can you explain it further?
>
>
Hi
there you have a script. Blendmodes only work with pygame1.8. Users
using pygame1.7 can start the script, but should not change the
blendmode pressing 'm'.
Perhaps I have done something wrong, please correct any mistake you
find. Or perhaps I have forgotten an interesting case.
Results:
rotate() screws up on normals surfaces and surfaces with per surface alpha.
rotozoom() screws up all except surfaces with per pixel alpha
Blendmodes do not respect colorkey nor per pixel alpha. I do not know if
this is intentional.
rotozoom fills the space in with black, therefore you will not see any
difference in blendmodes 'add' or 'sub' (because adding 0 or subtracting
0 gives the same number).
An is there a reason why colorkey and per pixel alpha are mutual
exclusive? (is that a constraint from SDL?)
~DR0ID
Thread:
renesd
Dr0id
renesd
|