Well I'm not using cameras, I'm just using a simple JPG image. I tried this:


Code:
bmap the_end <the_end.jpg>;

panel the_end_screen
{
layer = 4;
bmap = the_end;
scale_x = 1.6;
scale_y = 1.6;
alpha = 0;
}



function end_screen_transition
{

the_end_screen.visible = on;
the_end_screen.transparent = on;
the_end_screen.alpha = 0;

while(the_end_screen.alpha < 100)
{
the_end_screen.alpha += 2 * time;
wait(1);
}

the_end_screen.transparent = off;

}




but nothing happens. The screen shows up, but it doesn't fade in or anything. It just pops up there normally.