Hi everyone,
I am working on the intro of my game and I use a *.avi file in the middle of it.
Now I read in the section of the manual about the PlayVideo() function:
FLAGS can be one of the following:
0: the video will be played at original size, with AVI audio
1: the video will be stretched to full screen, with appropriate
black borders to maintain its aspect ratio and AVI audio.
10: original size, with game audio continuing (AVI audio muted)
11: stretched to full screen, with game audio continuing (AVI audio muted)
I want the game background music (I tried both *.ogg and *.mp3) to keep playing when the video starts. So I set the flag to "10".
However, as soon as the video is started the game music stops and begins again after the video has stopped playing.
Any ideas regarding this problem?
Thanks
Stefan
Can you paste the exact PlayVideo() script command that you are using here? It's possible you got the parameters the wrong way round by accident.
Oh oh, Pumaman, I hope I wasn't that stupid.
Here it is:
PlayVideo("Intro01.avi",10,1);
How about that?
I really got them mixed up ... sorry. ::)
It works okay now.
Stefan