Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Gemmalah on Fri 12/12/2003 21:08:02

Title: Flc files refuse to play *urgent*
Post by: Gemmalah on Fri 12/12/2003 21:08:02
Sorry i don't wanna sound desperate but i need this finished tonight.

1. heres my code, i want to play flcs 1-3. IT is in the preload screen. On when player first enters screen.
RawClearScreen(15);
PlayFlic (1, 1);
PlayFlic (2, 1);
PlayFlic (3, 1);
NewRoom (2);

But it goes straight to the newroom. and does not even say it cannot find the files. They are in the game folder. THe rawclearscreen is st try and stop the previous problem i had with flics. (the background was turned black and the only bits that would show where the animated bits)
Title: Re:Flc files refuse to play *urgent*
Post by: Scorpiorus on Fri 12/12/2003 21:50:27
Some tips:

Make sure flic files names:  FLIC1.FLC,  FLIC2.FLC,  FLIC3.FLC or FLIC1.FLI, FLIC2.FLI, FLIC3.FLI. Because if AGS didn't find them it never displays an error.

What if you remove RawClearScreen(15); command. Does ot work then?

You mean you call it from the intro.crm room?

Title: Re:Flc files refuse to play *urgent*
Post by: Gemmalah on Mon 15/12/2003 10:42:26
hello again scorpious (are you named after a charactor in farscape by any chance)

OK RawClearScreen was used in an attempt to stop a previous error with avis and flcs where the background was black even if it really wasn't and the only bits you could see where the ones that were moving. (someone said this may be keyframes. I havn't tried without it yet.

my files are called flic1.FLC ect, does it need to be in capitals definately. Because i tried this before and it worked, but i needed to redo them and now they won't run at all, i resave them under the same names. I will try naming them with capital letters.

I call it from inro.crm after fade in. I have tried putting it in the first room you go in after fade in but that didn't help.  
Title: Re:Flc files refuse to play *urgent*
Post by: Scorpiorus on Mon 15/12/2003 11:22:03
Quotehello again scorpious (are you named after a charactor in farscape by any chance)
It's derived from my sign of zodiac. :)

Quotemy files are called flic1.FLC ect, does it need to be in capitals definately. Because i tried this before and it worked, but i needed to redo them and now they won't run at all, i resave them under the same names. I will try naming them with capital letters.
could it be related to that you redone them?

QuoteI call it from inro.crm after fade in. I have tried putting it in the first room you go in after fade in but that didn't help.
What if you try another room? (just set main character's room to that one)
Title: Re:Flc files refuse to play
Post by: Gemmalah on Mon 15/12/2003 13:13:16
cool, i'm a scorpio too. OH and it's not urgent anymore sorry i'll give it in to my teacher as a draft tomorrow not as final.

anyway, the only thing i did to the animations to redo them was to go back to their origional gif format file. Add a few frames ect. change it back to the flic in the way i did before with animation shop and made them have more colours so it didn't look distorted and do that problem it had before.

third point... that is what i did. I set the foirst room to 2 it has a picture of my charactor and that is all so you can see it while it is loading the flics insted of a background. and in that room after fade in i wanted it to run the flics.  then when that didn't work i tried it in the preload screen room. no luck either.

thanks alot you are a real help.
Title: Re:Flc files refuse to play *urgent*
Post by: Scorpiorus on Mon 15/12/2003 18:32:15
I just give it a test. Works fine for me. I used that tiny flic http://rugth30.phys.rug.nl/moviegallery/movies/nmrshort.flc (http://rugth30.phys.rug.nl/moviegallery/movies/nmrshort.flc) (45kb)

it's very short (just a couple of frames) but you should see it for less than a second.

Also what AGS version do you use?