![]() |
|
How do you mix Bitmaps together in a fade? |
lin lin
Member #7,251
May 2006
|
Is there a way to mix 2 BITMP pixels together to form a kind of fade that's 50/50 of each? Like for example, I want my menu to be see-through. With directX I would take pixels 1 by 1 and apply a formula. However, with Allegro I am not so sure. Is there an allegro function that does this? I would image it taking 2 BITMP's as parameters and returning a single Bitmap mixed. |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Call set_trans_blender() and draw with draw_trans_sprite(). |
|