First frame of FLC animation corrupted?

Started by Scavenger, Mon 11/11/2013 11:58:45

Previous topic - Next topic

Scavenger

I'm trying to put an ident into my game using PlayFlic (as FLCs do these kinds of full screen animations more efficiently than AGS' inbuilt animation) but I've come across a bit of a problem - the first frame of the animation is corrupted, and I'm not sure how to solve it. The rest of the animation works fine - the frames appear to be delta encoded and soon cut through the corruption, but the first frame doesn't seem to exist. I made it with Jasc Animation Shop 3, and checked it with Autodesk Animator Studio Player.

Here's what the (corrupted) frame looks like:
[imgzoom]https://dl.dropboxusercontent.com/u/50882197/Game/Heatwave/error/corruption.PNG[/imgzoom]

Here's the FLC file: https://dl.dropboxusercontent.com/u/50882197/Game/Heatwave/error/FLIC0.flc
And here's the game's palette: https://dl.dropboxusercontent.com/u/50882197/Game/Heatwave/error/palette.bmp

It's definitely not a palette issue, as then colours are all the right kind - but... it's just not working. I've used all the FLC playing options, and opening the FLC in other programs doesn't produce the same result. What's going on here?

selmiak

workaround idea: Put another frame before the first frame, preferrably a black frame and render and try again.

Scavenger

#2
That worked! I just put a transparent frame and told AGS not to blank the screen before playing it. Now it plays fine, and setting the duration of the first frame to 0 seconds means that it never shows up anyway. I'll make a note of it in future.

Weird behaviour, though. I wonder why it's doing that?

Edit: It flashes before it starts the animation, even when I told it not to clear the screen. Lame. :< Gonna try a few things to see if it was using the right transparent colour.

SMF spam blocked by CleanTalk