Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Playing a video clip in Turing
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
KeyBladeMaster




PostPosted: Fri Dec 14, 2007 12:33 pm   Post subject: 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?
Sponsor
Sponsor
Sponsor
sponsor
HeavenAgain




PostPosted: Fri Dec 14, 2007 12:57 pm   Post subject: 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 Rolling Eyes
richcash




PostPosted: Fri Dec 14, 2007 1:22 pm   Post subject: 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




PostPosted: Fri Dec 14, 2007 2:14 pm   Post subject: 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




PostPosted: Fri Dec 14, 2007 2:52 pm   Post subject: Re: RE:Playing a video clip in Turing

petree08 @ Fri Dec 14, 2007 2:14 pm wrote:
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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
SNIPERDUDE




PostPosted: Fri Dec 14, 2007 2:59 pm   Post subject: 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




PostPosted: Fri Dec 14, 2007 3:23 pm   Post subject: 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




PostPosted: Fri Dec 14, 2007 3:54 pm   Post subject: RE:Playing a video clip in Turing

Sys.Exec is the new, functional equivalent to the outdated system.
Sponsor
Sponsor
Sponsor
sponsor
petree08




PostPosted: Mon Dec 17, 2007 11:18 am   Post subject: 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




PostPosted: Mon Dec 17, 2007 1:08 pm   Post subject: Re: RE:Playing a video clip in Turing

petree08 @ 17th December 2007, 11:18 am wrote:
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.
Computer Science Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
agnivohneb




PostPosted: Mon Dec 17, 2007 1:25 pm   Post subject: Re: RE:Playing a video clip in Turing

StealthArcher @ Fri Dec 14, 2007 3:23 pm wrote:
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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 11 Posts ]
Jump to:   


Style:  
Search: