AnimPlayer.hws example bug
Posted: Tue Feb 25, 2014 9:31 am
As I viewed some YAFA animations with the AnimPlayer example figured out that there is a bug in the player script.
It can be triggered by doing a resize at the last frame position with the Esprita.anim or dragging the dragbar right out the window with any YAFA anims.
It can be fixed by insert these lines before line 58 (GetAnimFrame...):
frame=Min(frame,numframes)
frame=Max(frame,1)
However maybe the official fix will be something else.
It can be triggered by doing a resize at the last frame position with the Esprita.anim or dragging the dragbar right out the window with any YAFA anims.
It can be fixed by insert these lines before line 58 (GetAnimFrame...):
frame=Min(frame,numframes)
frame=Max(frame,1)
However maybe the official fix will be something else.