Create A Meele Combat System In Unity And C#
Published 11/2023
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 5.56 GB | Duration: 8h 7m
Published 11/2023
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 5.56 GB | Duration: 8h 7m
Create a Third-Person Meele Combat System in Unity and C# | Learn Gameplay Programming and Clean Coding Practices
What you'll learn
Create a third-person meele combat system in Unity
Learn to create scalable, modular and reusable gameplay systems in Unity
Learn to write clean & modular code in C#
Learn to architect data driven systems in Unity using Scriptable Objects
Learn important 3D gameplay programming concepts
Requirements
You should know the basics of C# (if, loops etc)
You should know the basics of Unity
Description
In this course, you’ll learn to create a third-person melee combat system in Unity with features like combos, counterattacks, intelligent enemy AI, etc. We'll design this system in a modular, data-driven, and scalable way using clean coding practices. So in this course, you’ll not only learn to build this system, but you’ll also learn lots of valuable game programming concepts that you can use throughout your careerSo the combat system that we’re going to create will be a free-flow combat system. That means enemies won’t attack the player mindlessly; instead, they’ll attack in a coordinated way by circling the player and attacking one at a time. This is the type of combat used in modern-day games like Assassin's Creed, Batman Arkham series, Marvel’s Spider-Man, etc. This combat system will also be easily customizable, so if you want to use punch and kick attacks instead of sword attacks, you can do that easily without changing a single line of codeSo we’ll be building all this step-by-step from scratch. We’ll start by making a basic third-person controller. We’ll not use any assets for it; we’ll build it from scratch because it’s a good way to learn the fundamentals of gameplay programming. And then we'll give our character the ability to attack. We’ll architect the attacks using scriptable objects in Unity so that the designer will be able to create and edit different attack combos without changing the code. Then we'll start building the enemy AI. We'll be architecting the enemy AI using a finite-state machine. It's a technique that’s been used for building AI in games for the last 25 years. It's used in popular games like Last of Us, the Batman Arkham series, and many more. So we'll build a Finite-State Machine from scratch and create our enemies using it. We'll start by creating simple enemy behaviors like Idling and Chasing the player, then we'll implement more advanced behaviors like circling the player and attacking him in a coordinated way. Once we're done with the Enemy AI, we'll implement the counterattacks.Throughout this course, you’ll learn lots of game programming skills. You’ll learn lots of intermediate-level C# concepts like Generic Classes, Dictionary, LINQ, Inheritance, etc. You’ll also learn to use Mathematical concepts like Trigonometry, Dot Product, Cross Product, etc. So the skills and techniques that you learn from this course will be really helpful for you if want to pursue a career as a game programmer.
Overview
Section 1: Introduction
Lecture 1 Introduction
Lecture 2 Download the completed project
Lecture 3 How to ask questions?
Section 2: Third-Person Controller
Lecture 4 Section Intro
Lecture 5 Download the third person controller
Lecture 6 Project Setup
Lecture 7 Camera Controller
Lecture 8 Character Movement
Lecture 9 Animation Setup
Lecture 10 Adding Animations to Character
Lecture 11 Collisions and Gravity
Lecture 12 Controller Input
Section 3: Combat System
Lecture 13 Perfoming Attack
Lecture 14 Reacting to Attacks
Lecture 15 Attack States
Lecture 16 Combos & Architecting Attacks as Scriptable Objects
Lecture 17 Different Attack Hitboxes
Lecture 18 Enemy AI
Lecture 19 Chasing the Player
Lecture 20 Combat Movement
Lecture 21 Combat Movement || - Circling around the Player
Lecture 22 Improving Circling
Lecture 23 Attacking the Player One by One
Lecture 24 Retreating after Attack
Lecture 25 Performing Combos
Lecture 26 Counter Attacks
Lecture 27 Targeting System
Lecture 28 More to come
Section 4: Bonus Lecture
Lecture 29 Bonus Lecture
Beginner Unity developers looking to learn intermediate concepts and create reusable systems