Skip to main content

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.

https://youtu.be/8EVHNbgQCBg

Download the starter files below.

Melee_2D_StartDownload