Help required re: looping intro movie.

Started by madradubhcroga, Tue 26/05/2009 02:01:18

Previous topic - Next topic

madradubhcroga



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
 

Wonkyth

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
Code: ags

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
"But with a ninja on your face, you live longer!"


SMF spam blocked by CleanTalk