Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | wombatTurkey | |
Old Version | Published before Godot 3 was released. |
This seems odd, but take a look at this spritesheet:
And look at what happens:
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? 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