2D Melee Combat

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.