Back to Browse

Unity 2D Player Attack System (Melee & Projectile)

170 views
Jan 9, 2026
27:30

🎮 Unity 2D Player Attack System | Melee & Projectile In this video, I’ll show you how to build a complete Unity 2D player attack system, including melee attacks and projectile (arrow) shooting. You’ll learn how to: Set up input keys for attacks Create a projectile system (arrow shooting) Implement a melee attack system Control attack direction using Sprite Flip Test and finalize a clean, expandable combat system This tutorial is perfect for 2D platformers and action games and works great as a foundation for adding enemies, health systems, and AI in future episodes. 📦 Download the Assets Used in This Tutorial 👉 https://drive.google.com/file/d/1z19FEkO2i5xB_nYal8nWkxKwiPXY9_2C/view?usp=sharing ⏱️ Timestamps 00:00 – Intro 00:24 – Input Keys 04:24 – Projectile Setup (Arrow) 21:47 – Melee Attack Logic 27:13 – Testing & Final Result 🚀 Support the Channel If this video helped you: 👍 Like the video 🔔 Subscribe for more Unity 2D tutorials 💬 Comment if you want the enemy system & combat AI in the next episode

Download

0 formats

No download links available.

Unity 2D Player Attack System (Melee & Projectile) | NatokHD