Game Development Community

Support for movies?

by Nebu Pookins · in Torque Game Builder · 06/27/2006 (11:13 am) · 6 replies

Is there, or will there be, any support for loading and playing full motion videos? I'm evaluating using TGB for making an RPG, and this would be a handy feature to have.

About the author

Recent Threads


#1
06/27/2006 (11:17 am)
There already is support for Theora encoded movies in TGB, "GuiTheoraCtrl" in your GUI Builder.
#2
06/28/2006 (5:29 am)
Thanks. I played around with it, and it seems to regularly cause my TGB to crash. It'll happen randomly: sometimes when I first load a movie into the control from the GUI editor; other times when I just drag the control around to position it on the screen.
#3
06/28/2006 (6:55 pm)
I kept at it, but TGB keeps crashing whenever I try to resize or move the GuiTheoraCtrl or save the GUI with a GuiTheoraCtrl on it.

We paid for the early-release version of TGB already. Are there any support options?
#4
06/28/2006 (10:20 pm)
Nebu,
A simple fix for this problem would be to open up guiTheoraCtrl.cc in your source code editor of choice and remove the function definition for inspectPostApply at the bottom of the file. I'm not sure if this is an ideal solution and will look into it further at a later point, but that should resolve your issues for now. Let me know if this helps!

Cheers,
-Justin
#5
07/01/2006 (11:33 am)
I had to modify the .h file to remove the function declaration as well, but this seems to fix it. Thanks.
#6
07/01/2006 (11:57 am)
Can I set a callback function for when the movie is over? Or more generally, where can I find a reference on the GUI components of TGB? The TGB reference doesn't seem to go into GUI controls at all, and the tutorial at http://www.garagegames.com/docs/tge/general/pt02.html doesn't mention the Theora control at all.