Problems with Flc/Fli animations

Started by Le Woltaire, Thu 25/03/2004 20:35:14

Previous topic - Next topic

Le Woltaire

I tried to work with flic animations in my game.


When I run the Game the flic starts to play but when it ends it returns to the first picture

of the animation and the whole game turns off leaving the message:

                          "FLI/FLC animation play error"

When I skip the movie with esc the game continues in a normal way, am I doing something wrong?



Pumaman

Looks like it's not detecting the end of the file properly - what application did you use to make the flic?

Le Woltaire

Thank you Pumaman for your answer.

I guess you must be right.

I converted an AVI-file generated with 3dStudioMax to a

compressed flic-file with a very old DOS converter of the last century.

Perhaps this is the problem.

Could you suggest me a possilbly free converter able to produce

compressed flic files out of AVIs, that work with AGS ?

I tried to look in the internet, but just found old DOS-based programms.  

Thank you again.    



Ben

Can't you just use the original AVI? That will look better than a FLI, and will probably have a smaller file size if you use a decent codec. The only reason to use a FLIC video is if you're creating a DOS game, or a game in 256 colors..

Le Woltaire

Yes, Ben, you are right, the AVI file is smaller than the flic.

But the main thing is, that I dont want the background music to be interrupted
when my animation starts.

When I use the AVI file my music stops the animation starts
and when the Game continues the music plays again.

With the flic-movies music just goes through.

I'm using very small 3 second movies that play always when you move from one room
into another, thats why it would be silly if music stops or changes during these passages.  

So I thought flics could be an alternative. Or is there a way to keep the background music of the Game
while AVIs are playing ?
 



Ben

Quote
FLAGS can be one of the following:

0: the video will be played at original size, with AVI audio
1: the video will be stretched to full screen, with appropriate
  black borders to maintain its aspect ratio and AVI audio.
10: original size, with game audio continuing (AVI audio muted)
11: stretched to full screen, with game audio continuing (AVI audio muted)

So, just pass the FLAG variable as 10 or 11..

Le Woltaire

Ohhhhhhhh.........Ups...........

Well, I guess that resolves all my problems.

Errrrrrm...........thanks Ben............ and forget that question with the silly flic-converter.

Have a nice day. Ciao.



SMF spam blocked by CleanTalk