AnimationPlayer with SpriteSheet Issue

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By wombatTurkey
:warning: Old Version Published before Godot 3 was released.

This seems odd, but take a look at this spritesheet:

http://imgur.com/a/mUfOt

And look at what happens:

https://i.gyazo.com/2d8b18d5271140d183b4ba0e4fd20eea.gif

Basically, the timeline of the animation works fine, but when you play, it somehow plays the last index (the red bat) before looping again.

I’m using Continuous and Linear.

The last keyframe is set to 4 too, but it reverts back to frame 0 right before looping? I’m not sure if this is intended, a bug, or am I missing a setting somewhere? :slight_smile: Thanks!

Regarding the last bit—When you set an animation to loop it will automatically interpolate at the end, between the last keyframe and the first. So if you leave empty space after the last keyframe it will whizz back to the start through all the frames in between.

rgrams | 2016-07-30 21:03

:bust_in_silhouette: Reply From: wombatTurkey

Looks like if I change the steps field to 0.05 or something that corresponds to len(s), I can see the frames change. Not really an AnimationPlayer issue, my fault! I Apologize