Add a "loop" option in frame tags?


#1

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


#2

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.


#3

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


#4

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.