I am trying to animate a sprite in the animationplayer. This sprite is only added to the player scene after the player does a certain action. How would I go about doing this?
I know the normal way of animating a sprite by clicking in the sprite and then keyframing, but thats not possible since the sprite isn’t part of the base scene.
If I was doing this, I would create a new scene with a sprite as it’s base, and give that an animation player. Then add some code to the _ready() function to play that animation. Then whenever it’s added to a scene, it will play that animation.
Ah that makes much more sense! I was approaching the problem the wrong way. Thank you for your help!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.