
-----------------------------------
KeyBladeMaster
Fri Dec 14, 2007 12:33 pm

Playing a video clip in Turing
-----------------------------------
i want to play a video clip in turing at the end of my game, is it possible? and if it is what files can it play?

-----------------------------------
HeavenAgain
Fri Dec 14, 2007 12:57 pm

RE:Playing a video clip in Turing
-----------------------------------
i dont think turing is able to play any video, so no, and nothing
although i could be wrong :roll:

-----------------------------------
richcash
Fri Dec 14, 2007 1:22 pm

Re: Playing a video clip in Turing
-----------------------------------
I guess the best you could do is get a bunch of frames (as sprites or pictures) and have them drawn one after another and it might look something like a video clip.

-----------------------------------
petree08
Fri Dec 14, 2007 2:14 pm

RE:Playing a video clip in Turing
-----------------------------------
there is a way to have an actual video playing at the end of the game 

however it will open in a seperate window using a default movie player like Quicktime or Windows meida player.  

the command for this is the system comand 

it is a function so you can't use it on a seperate line 

how to use it 

i bevieve you need to use it in an if statement 

example 

if system ("file path to movie/moviename.movietype") = false then
  put "sorry invalid path"


end if 




the system comand lets you talk directly to the opertating system (NOT WINDOWS) and so you can use it for almost anything. 

um look up system under turings help files cuz i think i might be a tad off on my explantion

-----------------------------------
Tony
Fri Dec 14, 2007 2:52 pm

Re: RE:Playing a video clip in Turing
-----------------------------------
the opertating system (NOT WINDOWS)
What? I'm pretty sure that technically Windows is still an operating system...

Anyway, Sys.Exec is more commonly used. I'm not sure if system is just an older syntax for the same thing, or something else.

Sys.Exec executes system commands, outside of Turing. If the command is a file name, it is usually launched in the associated application -- so movies in a default movie player. Of course since this is outside of Turing, you have no control over it.

-----------------------------------
SNIPERDUDE
Fri Dec 14, 2007 2:59 pm

RE:Playing a video clip in Turing
-----------------------------------
Kind of like what was said earlier, you could have a GIF and play frame by fram, or have alot of pics and do it that way.

It would be alot easier on space if you made all the pics in turing; either by-pixel, or using turing graphics (drawfilloval, etc.).

-----------------------------------
StealthArcher
Fri Dec 14, 2007 3:23 pm

RE:Playing a video clip in Turing
-----------------------------------
http://compsci.ca/v3/viewtopic.php?t=10788

Look here, someone managed to do it a while back.

-----------------------------------
Clayton
Fri Dec 14, 2007 3:54 pm

RE:Playing a video clip in Turing
-----------------------------------
Sys.Exec is the new, functional equivalent to the outdated system.

-----------------------------------
petree08
Mon Dec 17, 2007 11:18 am

RE:Playing a video clip in Turing
-----------------------------------
Windows is technically not an operating system (allthough it is marketed as one) it is the graphical user interface between an operting system and the applications.  

An operating system is something like DOS 

you can run a computer without windows but you can't run one without DOS

-----------------------------------
Dan
Mon Dec 17, 2007 1:08 pm

Re: RE:Playing a video clip in Turing
-----------------------------------
Windows is technically not an operating system (allthough it is marketed as one) it is the graphical user interface between an operting system and the applications.  

An operating system is something like DOS 

you can run a computer without windows but you can't run one without DOS

This is only ture for Windows 3.1 to ME (proboly befor 3.1 too). Windows XP and Vista are full OSs.

-----------------------------------
agnivohneb
Mon Dec 17, 2007 1:25 pm

Re: RE:Playing a video clip in Turing
-----------------------------------
http://compsci.ca/v3/viewtopic.php?t=10788

Look here, someone managed to do it a while back.
I noticed with this program that when you open it, it creates the img files of the movie and then removes them when you close it. you could do somthing similar. already have the movie images setup in a folder in a numbered order (movie-001.bmp, movie-002.bmp ...) and output that image to the screen. you would also want to learn how to work with framerates so your movie is not choppy or too fast (or slow).

EDIT: grammer fixes
