Expanded Library

Melee Weapon Systems in Unity

by Joshua Kinney

In this series of Unity tutorials, we learn how to create a melee weapon system that we would see in most hack and slash style games. Software required: Unity 3.4.

What you'll learn

Throughout these tutorials, we'll learn how to create a melee system that you would see in most hack and slash video games today. Although this course does not cover extremely advanced techniques, you will learn enough to customize this system for your very own projects. We'll start off by talking about a few key tips we need to know before we import a rig into Unity. Then we'll begin scripting a simple user interface to give our user damage feedback. Following that, we'll create the script that will handle how to deliver damage and how to limit the range of our attacks. Then we'll create a basic enemy AI that will watch and listen for our player. Then we'll wrap it up with applying physics to our melee combat system. Software required: Unity 3.4.

About the author

Joshua is a devoted games author at Pluralsight. For years Joshua has been a key author behind Digital-Tutors' (now a Pluralsight company) popular game engine training. As a kid, he had a passion for playing video games, which eventually developed into a fascination with the process of game creation. The question of "How'd they do that?" led Joshua on a quest to learn to make these games himself. Ever since then, Joshua has devoted his life to creating games, as well as teaching others to build ... more

Ready to upskill? Get started