0 votes

So let's say that I have a lot of sprites. I want to animate the sprites to hide or show. But in AnimationPlayer we can only animate one object and of course It will be inefficient if I animate every single sprite. So how to animate all the sprite only with a single animation?

Godot version 3.4
in Engine by (29 points)

Hmm you should go back to the docs because none of what you said is true.

Infact whole 3D scenes can be animated so what then off 2D sprites?

Sorry my bad. I mean, a track that handle more than one object. Like move from A to B but apply to every sprites without make another track every single sprite

1 Answer

+1 vote

If I understood correctly: you could add all those sprites to a temporary parent, now by animating the visibility of the parent, all children would have to be hidden.

by (2,252 points)

Thanks for the answer. But what I need is that the animation run in specific sprites. With hiding the parent it will hide it all. I think the only way is to make the animation with code and share the script to all sprites. I just want to know is it possible to make an animation track than can be applied to more than one object

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 Frequently asked questions and 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 [email protected] with your username.