Playing a Movie as a Background
by Kevin Yancey · in Torque Game Builder · 05/31/2007 (4:59 pm) · 4 replies
I am experimenting with various visual effects in a puzzle game I am developing, and I was wondering if there was a way to play a video in the background of the SceneWindow that displays the UI for my game. If someone could at least point me in the right direction, it would help me a lot.
Thank you.
Sincerely,
Kevin P. Yancey
Thank you.
Sincerely,
Kevin P. Yancey
About the author
#2
05/31/2007 (6:42 pm)
Wow, that worked out quite nicely. I would have never guessed to look for something called a Theora control. Anyway, now I just have to figure out how to get the video to repeat automatically. Not sure if there is an option to do this. I may have to modify the C++ source for that part. But, this gives me something to play around with. Thanks a lot!
#3
06/04/2007 (2:02 pm)
Glad you found the Theora control (with the help of Anthony) and glad it is of use :)
#4
I believe that you can do a check to see if the movie has stopped, and then make it play again.
Just schedule the check every 500 milliseconds (might need to be shorter to make sure that there is no stop time).
If you want I can look at the Theora control and post some code to help.
Just let me know.
06/04/2007 (2:11 pm)
Glad to be helpful.I believe that you can do a check to see if the movie has stopped, and then make it play again.
Just schedule the check every 500 milliseconds (might need to be shorter to make sure that there is no stop time).
If you want I can look at the Theora control and post some code to help.
Just let me know.
Torque Owner Anthony Abrams
The only problem I can see is getting it to be behind the rest of the game.
Might be do-able with a little messing around.