211
Technical forum / loop avi as a background
« on: March 03, 2008, 11:15:15 AM »
Hello all
I have a scene of a pond that contains a lot of water. To make this ripple, I've used a program that outputs an AVI (I'll worry about OGG later, that's a whole other bunch of difficulties).
Now I want to use that AVI as my background and have it loop constantly while in that scene.
I've checked the documentation and PlayVideo(Filename, Type, X, Y, FreezeMusic, SubtitleFile) appears not to have a 'loop' option.
So I checked the forums and found this:
var video;
video.PlayVideo("Video\MP10W.avi",true,,);
but all that does is give me a script compiler error.
With the game design of 'Rhiannon', if we can't do looping videos, we're stuffed, and we're due to go to beta in May.
Thanks
I have a scene of a pond that contains a lot of water. To make this ripple, I've used a program that outputs an AVI (I'll worry about OGG later, that's a whole other bunch of difficulties).
Now I want to use that AVI as my background and have it loop constantly while in that scene.
I've checked the documentation and PlayVideo(Filename, Type, X, Y, FreezeMusic, SubtitleFile) appears not to have a 'loop' option.
So I checked the forums and found this:
var video;
video.PlayVideo("Video\MP10W.avi",true,,);
but all that does is give me a script compiler error.
With the game design of 'Rhiannon', if we can't do looping videos, we're stuffed, and we're due to go to beta in May.
Thanks