function main()
{
//video_screen = 1; //fullscreen
video_mode = 7; //activate 800x600 screen resolution
sound_vol = 100; //set the sound at full volume
level_load("level.hmp"); //before we can create level entities, a level must be loaded
set (pIntro, VISIBLE); //black canvas
wait(-1); //wait a second
ent_create("character.mdl",vector(25,55,45),main_player); //create the player
var mhandle = media_play("intro.avi",NULL,100);
wait(-11.3);
var mvertical = media_loop("vertical_leap.avi",NULL,100);
pan_remove(pIntro);
}