Godot Version
4.3
Question
How to play an AnimatedSprite2D in an AnimationPlayer?
Hi,
I am programming a TD game in Godot 4.3.
In an AnimatedSprite2D I have animated a portal (8 frames).
I would like to play this “portal” in an AnimationPlayer. I would like to use the AnimationPlayer, so that when the “portal” appears on the map, I don’t just pop it up, but use scale, for example. It would look nicer that way.
I have tried the following in AnimationPlayer:
Add Track → Property Track… → AnimatedSprite2D selected → animation
I have inserted an insert in animation.
When I run the AnimationPlayer nothing happens. The selected animation is “portal”.
I can’t find a YouTube video for this either.
Do I have to do this without an AnimatedSprite and use the property track “frame” in the AnimationPlayer?
If so, how can I loop the animation for “frame”?