i am trying to include a movie at the beginning of my game called "Initial.wmv" and i have used the following script:
// main game loop
while(1)
{
if(gid01_level_state != gid01_level_loaded)
{
freeze_mode = 1; // pause the game
while(gid01_level_state != gid01_level_loaded) { wait(1); }
freeze_mode = 0; // resume the game
if (vid_played == 0) {
media_play(video_start, NULL, 80);
vid_played = 1; }
}
wait(1);
}
and also included a string which defines video_start as the movie file and also declared the vid_played variable. When i load the level, it runs as normal but without the video.
can anybody point me in the right direction ?