Higor
08-24-2012, 01:56 AM
Class is AnimatedSprite:
Change the old Timer() with this one:
simulated function timer()
{
if ( ++CurrentFrame >= Frames )
Destroy();
else
Texture = SpriteFrame[CurrentFrame];
}
Change the old Timer() with this one:
simulated function timer()
{
if ( ++CurrentFrame >= Frames )
Destroy();
else
Texture = SpriteFrame[CurrentFrame];
}