What kind of movie file could be played in B3D?

Blitz3D Forums/Blitz3D Beginners Area/What kind of movie file could be played in B3D?

Sammie,

Have a look at this and try it out...

in blitz 3d


graphics3d,800,600

Global movie1
Global file1$="nameofyourmovie.avi"
movie1=OpenMovie( file1$ )
If movie1=0 RuntimeError "Unable to open movie file"



while not keydown(1)

UpdateWorld
RenderWorld

If  (KeyDown(203)) And (Not MoviePlaying (movie1) ) Then movie1=OpenMovie( file1$ )

If (MoviePlaying(movie1)) Then DrawMovie movie1,36,26,175,150

Flip False

Wend
CloseMovie movie

End



************

Press the left arrow key to play the movie.


Hope that helps.

IPete2.