I have a few avi files I need to play in the game at certain points. I have some success but am unable to get the code to play the entire AVI before returning to the game.
Any examples ??
Any examples ??
Movie = OpenMovie("gfx\video\guera.avi") If (Movie <> 0) And (MoviePlaying(Movie)) ;Play starting movie Repeat DrawMovie Movie,0,0,800,600 Flip Cls For a=0 To 102 If KeyHit(a) Then SkipMovie = True Next If SkipMovie Then Exit If MouseHit(1) Or MouseHit(2) Then Exit Until Not MoviePlaying(Movie) CloseMovie(Movie) EndIf