GLBasic User Manual

Main sections

LOOPMOVIE

LOOPMOVIE file$



This command will play a movie (like PLAYMOVIE), but the animation will be repeated until the player presses the space-bar.

Sample:
 
// LOOPMOVIE
file$="Test.avi"

PRINT "Video: "+file$, 0, 120
PRINT "Hit mouse" ,140, 160
SHOWSCREEN
MOUSEWAIT
LOOPMOVIE file$

PRINT "Movie played" ,100, 100
SHOWSCREEN
MOUSEWAIT

See also...