Godot 4 hitbox and hurtbox the easy way (damage, teams, i-frames, knockback)
How to build a clean hitbox/hurtbox system in Godot 4 with Area2D — collision layers and masks explained, plus damage, teams to stop friendly fire, invincibility frames and knockback, with copy-paste code.