Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: madradubhcroga on Tue 26/05/2009 02:01:18

Title: Help required re: looping intro movie.
Post by: madradubhcroga on Tue 26/05/2009 02:01:18


Hello all:


I have a videoclip.avi that
plays music and flashes the text "Ready Player One".

Can anybody tell me how to make this avi file repeat if there is no player input for a period of 5 minutes? 

I'd like the avi containing the text and music to activate like a screen-saver, if the player is not interacting, because the game will be in a gallery space.

All and any help appreciated.

mdc
 
Title: Re: Help required re: looping intro movie.
Post by: Wonkyth on Tue 26/05/2009 05:25:07
I don't know much about playing .avi's, but from what I can see, it would much easier just to make a view, put the flashing words in it, and then do some thing like this:
pseudo

bool screensaveactive;

function FlashandNoise(){
//make character that uses the flashing word view appear
//make character animate
//play noise
SetTimer[1]//however long
}

repeatedly_execute() {
if (screensaveactive==true){
screensaveractive = false;
FlashandNoise();
}
if (IsTimerExpired[1]==true){
screensaveractive = true;
}
}


or something like that
Title: Re: Help required re: looping intro movie.
Post by: madradubhcroga on Thu 28/05/2009 13:37:06
Thank you.