Hi,

I have a problem with the Goto function.

I want to show some bitmaps for 5 seconds and then I want to show other bitmaps for 5 seconds. But I don´t know how to show the other bitmaps after 5 seconds.

Code is:
BMAP* Startbildschirm = "pictures/first.pcx";
BMAP* schriftzug = "pictures/schriftzug.pcx";

PANEL* Startbildschrim = // first panel (800x600)
{
pos_x = 0;
pos_y = 0;
layer = 1;
bmap = Startbildschirm;
flags = OVERLAY | VISIBLE;
}

PANEL* schriftzug_pan = // Text as Bitmap (100x100)
{
pos_x = 80;
pos_y = 380;
layer = 2;
bmap = schriftzug;
flags = OVERLAY | VISIBLE;
}

function main()
{
video_mode = 7;
screen_color.blue = 0;
video_screen = 1;
wait (-5);
}
goto next;

next:
function next()
{
PANEL* zweitesbild = // this panel should cover the first panel after 5 seconds. But it doesn´t work.

{
pos_x = 0;
pos_y = 0;
layer = 3;
bmap = schriftzug;
flags = OVERLAY | VISIBLE;

}
}


Last edited by rrv094055036862; 11/20/08 16:24.