|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/unity-meele-combat-course/
课程评论:没有评论
课程名称:在Unity和C#中创建近战战斗系统 课程概述: 本课程旨在帮助学员在Unity中创建一个第三人称的近战战斗系统,涵盖连招、反击、智能敌人AI等功能。我们将采用模块化、数据驱动和可扩展的设计方式,并遵循干净的编码实践。因此,学员不仅能够建立这一系统,同时也能掌握许多在职业生涯中非常有价值的游戏编程概念。 课程将创造一个自由流动的战斗系统,敌人将不会盲目攻击玩家,而是会以协调的方式环绕攻击,每次攻击一个敌人。这种战斗方式广泛运用于现代游戏中,如《刺客信条》、《蝙蝠侠:阿卡姆系列》和《漫威蜘蛛侠》等。此外,该战斗系统易于自定义,允许学员轻松更改攻击方式,例如将剑攻击替换为拳击和踢击,而无需更改代码。 课程将从基础的第三人称控制器入手,学员将从零开始构建,而不会使用任何现成的资源,这样的方式有助于掌握游戏编程的基本原理。接着,学员将为角色添加攻击能力,通过Unity的脚本化对象构建攻击架构,使设计者能够在不修改代码的情况下创建和编辑不同的攻击连招。 随后,我们将构建敌人AI,使用有限状态机(Finite-State Machine)来架构。这是一种在过去25年中广泛用于游戏AI构建的技术,在《最后的生还者》、《蝙蝠侠:阿卡姆系列》等游戏中得到了应用。课程中,我们将从零开始创建有限状态机,并使用其构建敌人。我们将先从简单的敌人行为(如待机和追逐玩家)开始,然后实现更复杂的行为(如围绕玩家攻击)。 最后,课程将实现反击机制。学员在课程中将学习大量的游戏编程技能,包括中级C#概念(如泛型类、字典、LINQ和继承等)以及数学概念(如三角函数、点乘和叉乘等)。这些技能和技术将为希望从事游戏编程职业的学员提供极大的帮助。
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.