how do i put a moive in my games

Started by dbzking, Tue 16/10/2007 11:52:29

Previous topic - Next topic

dbzking

how do i put a movie in my games i do not how to i have tryed and treyd but nothing

Ashen

What exactly have you tried? Playing a video in AGS should be easy - just copy the file to your 'Compiled' folder, and use PlayVideo when you want it to run. (It's possible to run Flc animations from the Interaction Editor, with 'Game - play flic animation', but not videos - them, you have to use code for).
If that's one of the things you've tried, and it didn't work, we'll need a little more information - what's the name and filetype of the video, where exactly are you starting it, what happens (or does't happen), do you get an error message (game crashes, or on a popup when you exit), does the video play OK out of AGS, etc...
I know what you're thinking ... Don't think that.

Dualnames

Quite easy. just add the video to the compiled folder of your game and add the line
PlayVideo("nameofvideo.wmv",1,1);

1 stands for audio from video and full size and 1 stands for video can be skipped by ESC key.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

SMF spam blocked by CleanTalk