+4 votes

Hello! I'm a seasoned developer, but a complete novice with the Godot engine. I started a new project and I have been playing with GUI design, but I got a little stuck. I want to add an animated sprite as part of the GUI, following the container layout and such, but there isn't any Control node like that. Adding something like an AnimatedSprite doesn't seem to follow the container's constrains. I could use the VideoPlayer node, but that would add extra complexity and would be inconsistent with the rest of the game, where I would just use AnimatedSprite (the parts that aren't GUI). I kind of hacked it with a TextureRect with an attached script that updates the image, but I don't think that's the most efficient approach and it's also inconsistent with the rest of the game. What am I missing here?

Thanks!!

in Engine by (16 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 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.