buttons + theora video clips = animated buttons
by Benoit Touchette · 03/02/2007 (6:34 pm) · 3 comments
I've recently been enjoying tinkering with video playback within torque and came up with this silly idea of having video enabled buttons for a project i am working on.
Took some figuring out since i had never looked at that code before but after some tinkering i got this working, most of the code is based on the GuiTheoraCtrl and GuiBitmapButtonCtrl classes. The only issue left to fix is when switching from one menu and then back to the original menu the video isn't restarted from the beginning. Hopefully I should be able to post this as a resource within the next few days once i fix that last problem.
Took some figuring out since i had never looked at that code before but after some tinkering i got this working, most of the code is based on the GuiTheoraCtrl and GuiBitmapButtonCtrl classes. The only issue left to fix is when switching from one menu and then back to the original menu the video isn't restarted from the beginning. Hopefully I should be able to post this as a resource within the next few days once i fix that last problem.
About the author
Associate David Higgins