![]() |
|
semi-transparent bitmap |
Albin Engström
Member #8,110
December 2006
![]() |
How do i load and use a semi-transparent bitmap?, i could not find the answer on the forum so instead i'm making a new thread on the subject. |
ngiacomelli
Member #5,114
October 2004
|
You colour the transparent bitmap regions as RGB 255,0,255 (magic pink). Then you use either of these functions to blit it: You load the bitmap as normal.
|
Albin Engström
Member #8,110
December 2006
![]() |
^^'.. i know that much.. i meant: |
gnolam
Member #2,030
March 2002
![]() |
-- |
Albin Engström
Member #8,110
December 2006
![]() |
I guess i didn't give such an good explanation.. I'm wondering if this is possible. |
Ceagon Xylas
Member #5,495
February 2005
![]() |
Could you make an example in photoshop? (Or another similar program) |
Albin Engström
Member #8,110
December 2006
![]() |
I've added an attachment, it's an example of what i'm trying to do, where the chess-board-look-alike background is the transparency, of course the bitmap can't be used but i'm wondering if this effect is possible with allegro and if so in what kind of format should the image be stored?. |
gnolam
Member #2,030
March 2002
![]() |
TGA. RTFM. -- |
Milan Mimica
Member #3,877
September 2003
![]() |
Quote: How do i load and use a semi-transparent bitmap?
set_color_conversion(COLORCONV_NONE);
-- |
Evert
Member #794
November 2000
![]() |
For reference, the search term you want is translucent. |
Albin Engström
Member #8,110
December 2006
![]() |
I thank thee, |
|