Game Development Community

AviBitmapCtrl A Small example

by Billy L · in Torque Game Engine · 10/22/2004 (7:55 am) · 14 replies

I moved the link here from a non SDK forum.

AviExample


in this example this should be included

1. a simple startupvideo.
2. a gui with video.
3. a ingamevideo popupctrl that works with a trigger.

#1
10/22/2004 (9:42 am)
Does it work on a Mac?
#2
10/22/2004 (9:56 am)
I really dont know that because i dont own a mac :)
#3
10/22/2004 (10:06 am)
The example above does not work for MAC or Linux.
Someone was going to implement SDL (is that the correct name?) but it never happened and the MPEG implementation doesn't work, AFAIK.

(Assuming that this is the same as the resource)
Thanks alot for the example though Billy, I've been looking for something like this.
#4
01/06/2005 (11:26 am)
*pokes the topic* Any chance that could get flung up again? I'd like to see the example.
#5
01/07/2005 (12:27 am)
@Philip
i try to get the file online this site i used was a temp one !

Edit.
Try the link now.
#6
01/18/2005 (3:45 am)
Nice. I hacked this a few weeks ago because I couldn't get the link above to work. Glad it works now though.
#7
01/19/2005 (7:53 am)
Thanks, Billy.

*checks it out*
#8
02/08/2005 (12:00 pm)
Clicking the "Movie Button" results in an error:

starter.fps/client/ui/videoscreenGui.gui (59): Unknown command Play

I have run into this with the other resource I found for playing files. Was there some change I need to make that wasnt documented? Did something in the code change?
#9
02/08/2005 (12:29 pm)
No i havent changed anything .
I made this very fast because somebody asked for it in another thread.
And tested it in a base 1.3 SDK.
#10
02/08/2005 (12:44 pm)
Yeah I saw your other thread, now I just need to track down why it wont recognize "play". The ConsoleMethod for play is inside an ENABLE_AVI_GUI #if block. I defined enable_avi_gui at the top of the file to make sure that path was taken for the compiler. Should I be defining ENABLE_AVI_GUI somewhere else or should it be working without me having to define it?
#11
02/08/2005 (12:55 pm)
Do you use the submitted GuiAviBitmapCtrl ?
Then you dont need to change anything.
You can find the same changes in a resource somewhere i only made some scripts .
#12
02/08/2005 (1:04 pm)
Yup, I used the submitted files and a stock torque 1.3 build. Did you get the files this resource? If so someone else seems to be having the same exact problem as me. I'm building a debug build now to see if i can track down the issue.
#13
02/08/2005 (1:16 pm)
Yup same resource .
Strange thing is , if i paste the files in a clean build with the above resource everything is working.
#14
02/08/2005 (1:35 pm)
Ok, I'm a moron lol. I was just rebuilding the library project and not the demo game project after I swapped the files in.