2D Melee Combat

This video shows how to create a simple melee attack for a 2D game.

This uses Sprite2d and AnimationPlayer rather than an AnimatedSprite as this means you can add an Area2D and CollisionShape2D to the game and manage their position alongside the animation through the AnimationPlayer.

Download the starter files below.