0 votes

I want to do a bouncing effect in the sprite. Something like:
States: 1, 2, 3, 2, 1, 2, 3, 2, 1, ...

To do this, I keyd frames 1, 2 and 3 into an Animation Player node. But the loop option only makes the straight loop. Something like:
States: 1, 2, 3, 1, 2, 3, 1, 2, 3, ...

I know that I can key sprites 1, 2, 3 and 2 (again) to achieve the same effect, but it's annoying with many states.

Is there any configuration on Animation Player menu that I didn't found?

Godot version 3.2
in Engine by (79 points)

You can't do this natively in an AnimationPlayer to my knowledge and adding an extra '2' frame is the way I would do it.

Thank you for replying, Lola. It's a shame...would be nice to have this feature. Imagine do it with an animation of 30 sprites...

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.