When this plugin was implemented there was no option to set a duration for each frame in SpriteFrames. The workaround was to calculate the duration of the quickest frame and duplicate the ones with longer duration. i.e. smallest 50ms, a 200ms frame would be duplicated 4 times.
In Godot 4 a duration property was added to the frame so I'm changing the plugin to use that, which can potentially save space and prevent rounding issues.
When this plugin was implemented there was no option to set a duration for each frame in SpriteFrames. The workaround was to calculate the duration of the quickest frame and duplicate the ones with longer duration. i.e. smallest 50ms, a 200ms frame would be duplicated 4 times.
In Godot 4 a duration property was added to the frame so I'm changing the plugin to use that, which can potentially save space and prevent rounding issues.