+1 vote

In the AnimatedSprite node, it's very simple to just import a single sprite sheet with a ton of different frames to get an animation from one PNG file. Is there any way to do this with AnimatedTexture?

Use-case example: I have a 40-frame animation that I am adding to a NinePatchRect as an AnimatedTexture (for stretching around a textbox in certain situations, when the textbox could be different sizes). It seems like the only way to do this is to have 40 PNG files. It's doable, but obviously this makes the files size much larger.

I realize that the AnimatedTexture resource is just that, a resource, not a node, and therefore it operates differently. Just wondering if I'm completely blind and can't find how to do this. Is there a better way than what I'm doing?

Godot version 3.4.4.stable
in Engine by (37 points)

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 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.