There is currenly no way to alter the animation settings (Speed, Loop, FromFrame, ToFrame) when resuming an animation (ResumeSprite()). I was just about to add this to the enhancements list but wanted to check first to ensure there isn't a way of me doing this in code...
Say for example I have an animation which flicks through 20 frames, if I stop the animation on frame 10 and want to resume from this position, but increase the speed of the animation, I do not believe I can achieve this.
Does anyone have any suggestions before I submit this as an enhancement?
I tried this:
PlaySprite(BoxAnim, Speed, 1, GetSpriteCurrentFrame(BoxAnim), GetSpriteFrameCount(BoxAnim))
But this then only loops between the CurrentFrame and the End Frame...
It would be good to have something like this:
ResumeSprite(iSpriteIndex, fFps, iLoop)