adding movies

Started by , Wed 02/07/2003 19:32:43

Previous topic - Next topic

style

I was wondering if there was any way possible with the AGS to put in movies... I'm making a game similar to 11th hour and 7th guest, but I'm wondering if there is an easy way to do it? If theres not, I can try to find some way to just save the segments of game surrounding the mini movie as seperate EXE's, and figure out some way to put them all together to make it transition smoothly... thanks

scotch

This is a pretty basic feature question that would have easily been found in the help file.. jus for future reference that's the best place to look for things at first.

there's a script cammand called:

PlayVideo (string filename, int skip, int flags);

Plays an AVI or MPG file, or any other file type supported by Media Player.

style

Hah, thanks. yeah I am lazy and I have terrible ADD so I just decided to post without checking, I do that quite alot... Though its not like these forums would benefit from less threads  :-* I kid I kid

TerranRich

Heh, that's okay, just keep in mind to follow the forum rules, which state such things as having a descriptive title, not using weird text effects, ya know,  just common sense stuff. :)

Welcome, and glad to have you aboard. :)
Status: Trying to come up with some ideas...

Meowster

So as not to start another thread about movies, because I'm pretty sure the answer to this question is no... can you loop AVIs to play smoothly over and over? Without a break? Just curious.


Scorpiorus

#5
you could place such a code:

int times = 10; // how many times to play
while (times > 0) {
PlayVideo (<filename>, <skip>, <flags>);
times--;
}

though not sure about a smoothly transition, just an idea... :P

Meowster

I love you. It works, but... there's a eversoslight gap between the loops. Oh well.

Scorpiorus

yeah, I did suspect. What if you set the room's background image to be the same as the movie's last frame? Maybe it could recoup a gap effect... :P

SMF spam blocked by CleanTalk