I've been having some difficulty of late with the animated portrait. I've gotten it working in previous projects, so I'm not exactly sure what's going on.
The portrait I've added to the character has 25 frames, and I've told it to use five rows and five columns. However, on starting the game, the animation only plays once (and then, only if the animation speed is over 60), then never again for the rest of the game. Every dialogue line after that, same image.
Other characters will also get their one-shot of animated line, then it stops forever. Any thoughts on what might be happening here?
Comments
Just before the line:
return portraitIcon.GetAnimatedSprite (true);
Insert the line:
portraitIcon.GetAnimatedRect ();