hi first you need to make a .tga file with alphachannel.You can do it using GIMP or Photoshop
GIMP is for free and very good.
And here is the Code that do what you want
////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>
////////////////////////////////////////////////////////////////////
PANEL* first_pan = // my first panel
{
pos_x = 0;
pos_y = 0;
layer = 1;
bmap = "example.tga";
flags = SHOW | OVERLAY;
}
/////////////////////////////////////////////////////////////////////
function main()
{
video_mode = 7;
screen_color.blue = 150;
wait(-5);
while(first_pan.alpha>0)
{
first_pan.alpha-=0.05;
wait(1);
}
}
WFG Progger
