Add a "loop" option in frame tags?

Frame tag feature is neat! But I’m also hoping we can specify if an animation is supposed to be looping or not directly from the editor and the exported json file

You can use the “Loop” tag (View > Set Loop Section) for this:

set-loop-section

And then exporting to json including the Frame Tag data.

thanks for reply, yeah, but i’m hoping the frame tag section would have a “isLoop” field, some animations are repeating infinitely and some animations only goes once, i’m hoping there’s a “repeat” field to specify how many times an animation is supposed to repeat in the actual game

2 Likes

I second this request. For example, LibGDX Animation.PlayMode differentiates between those which loop and those which do not. Ideally the property would be exported to json as well.

Currently, I cheat by naming the tag with an @ at the beginning, then just have my custom importer strip it off and set the loop flag for Godot. Works well enough. Would still love to see it as a tag’s property, though.

1 Like