Godot Version
4.4.1
Question
I am currently developing a 2D Metroidvania game.
In this project, I would like to trigger certain functions—such as controlling the velocity of a CharacterBody2D or enabling hit detection during attacks—at specific keyframes of an AnimatedSprite2D. Ideally, I want to configure these events while visually checking the animation state.
I understand that AnimationPlayer might be useful, but I am confused about how to connect it with AnimatedSprite2D. Since I cannot directly view or manage AnimatedSprite2D animations through AnimationPlayer, I am not sure what the best workflow is.
What would be the best way to set up and adjust these actions while being able to see the animation in progress?
Any advice would be greatly appreciated. Thank you!