Unity RPG Core Combat Creator: Learn Intermediate C# Coding

Learn How To Build Combat for Role Playing Game (RPG) in Unity. Tutorials Cover Code Architecture & Video Game Design.

   Watch Promo
 

2019 RPG Core Combat Creator: Learn Intermediate Unity C# Coding

Learn How To Build Combat for Role Playing Game (RPG) in Unity. Tutorials Cover Code Architecture & Video Game Design.

Bestseller 4.7 (8,589 ratings) 85,428 students

Join 734,000 Strong Student Community

Get Teaching Assistant Support

Earn a Completion Certificate

Enjoy 30-Day Money-Back Promise

Lifetime Access to Course

Get plugged into our communities of amazing developers on Facebook (nearly 20k), in our own TA-curated Community (17k views/day), or our student chat group (10k live at any one time)

Role Playing Games can be complex to create, with many interacting gameplay systems. We make it easy for you, with this online course that teaches you step-by-step how to make the foundations of any good RPG - from scratch.

In this course we're focusing on the core of any great RPG, giving your players a fun combat moment in a well crafted level, based upon a solid game design, built using a robust code architecture. You will follow our project, but also make the game entirely your own.

This is a highly realistic and comprehensive introduction to real game development. We'll be taking you through our process step-by-step, with all decisions justified and all avenues explored.

We will be dealing with AI pathfinding, creating a flexible special abilities system, and learning how to coordinate on a complex project. You'll learn to how to implement click-to-move gameplay, use asset packs, debug, make particle effects and more.

You'll need a basic grasp of Unity and C# before you get start, from there we'll be teaching you more advanced programming techniques such as C# delegates, interfaces, co-routines and more.

This highly acclaimed course was over 200% funded on Kickstarter, and is designed for intermediate users of Unity. We recommend you take at least the first half of our Complete Unity Developer 2D or 3D, or equivalent, as a pre-requisite.

Building an RPG is an amazing way to level-up your game development skills, so why not join us and get started improving your game development right now


What you'll learn in this course:

  • Create core combat mechanics for melee, ranged and special attacks.
  • More advanced C# techniques such as interfaces, delegates, and co-routines.
  • Create pathfinding systems and patrol paths for enemies and NPCs.
  • Make a detailed level with terrain, enemies, triggers, lighting, particles and props.
  • Balance the player and enemy stats (eg. health, damage, movement, attack speed, and more).
  • Advanced game design, project management and code architecture strategies.

Your Instructor


Sam Pattuzzi
Sam Pattuzzi

Sam wrote his first game at 14, hacking together little games in Macromedia Flash during his summer holidays. Not long after, he taught himself C++ followed by Python and web programming. He was hooked.

In 2010 he went to study Computer Science at the University of Cambridge and he's been in Cambridge ever since. That is where he caught the entrepreneurial bug and realised he wouldn't want a traditional job for long. So after a few years working in various jobs to get experience, he quit and started burning through his savings looking for his calling.

At the end of 2015, he was coaching some friends to improve their programming skills. Realising how much he loved it, he started creating online courses and reached out to Ben for help. Fast forward and he's part of the GameDev.tv gang and gets to hang out with our awesome community!


Course Curriculum (27+ hours)


  Introduction & Setup (0 hours 25 minutes)
Available in days
days after you enroll
  • Preview
    Welcome To The Course (3:02)
  • Preview
    Install Unity 2018.3 (5:08)
  • Preview
    Install Visual Studio Code (6:50)
  • Preview
    Not Making Intellisense?
  • Preview
    Quick Game Design Overview (2:22)
  • Preview
    Architectural Overview (6:48)
  • Preview
    Community & Support (1:40)
  Basic Movement (1 hours 40 minutes)
Available in days
days after you enroll
  • Preview
    Section Overview - Basic Movement (1:03)
  • Preview
    Create A Simple Sandbox (13:16)
  • Preview
    Move Using Nav Mesh Agent (8:26)
  • Preview
    Refining Your Nav Mesh (11:27)
  • Preview
    Introduction To Raycasting (6:51)
  • Preview
    Implement Click-To-Move (10:06)
  • Preview
    Quiz - Basic Movement #1
  • Preview
    Create A Fixed Follow Camera (6:48)
  • Preview
    Animation Blend Trees (12:41)
  • Preview
    Match Animation To Movement (16:14)
  • Preview
    Basic Movement Tweaks (6:14)
  • Preview
    Project Folder Structure (7:11)
  • Preview
    Quiz - Basic Movement #2
  High Level Game Design (0 hours 28 minutes)
Available in days
days after you enroll
  • Start
    Section Intro - High Level Design (1:09)
  • Start
    1.5 Page Game Design Document (10:26)
  • Start
    The Player Experience (6:58)
  • Start
    First Draft Of Your GDD (10:13)
  • Start
    Quiz - High Level Design #1
  Basic Combat (3 hours 6 minutes)
Available in days
days after you enroll
  • Start
    Section Overview - Basic Combat (1:12)
  • Start
    Separating The Control Layer (12:21)
  • Start
    Namespaces To See Dependencies (13:00)
  • Start
    Raycasting For Components (14:34)
  • Start
    Implementing Action Priority (10:00)
  • Start
    Move Within Range (9:03)
  • Start
    Cancelling Combat With Movement (10:27)
  • Start
    Quiz - Basic Combat #1
  • Start
    Decoupling Dependency Cycles (11:02)
  • Start
    Dependency Inversion With Interfaces (10:11)
  • Start
    Add Attack Animation (5:55)
  • Start
    Trigger Animation In Code (8:34)
  • Start
    Throttling Our Attacks (6:13)
  • Start
    Taking Damage (8:47)
  • Start
    Nested Prefabs And Variants (12:03)
  • Start
    Using Prefab Variants (10:34)
  • Start
    Quiz - Basic Combat #2
  • Start
    Any State Animations (3:28)
  • Start
    Trigger Death Animation (4:27)
  • Start
    Stop Attacking Already (10:39)
  • Start
    Look Them In The Eyes (6:41)
  • Start
    Ignore Dead Enemies (6:25)
  • Start
    Bugs? What Bugs? (10:48)
  • Start
    Quiz - Basic Combat #3
  Enemy AI (1 hours 24 minutes)
Available in days
days after you enroll
  • Start
    Section Overview - Enemy AI (2:20)
  • Start
    Calculating AI Chase Distance (9:01)
  • Start
    Swappable Control Systems (10:44)
  • Start
    Disable Control When Dead (10:27)
  • Start
    Visualising With Gizmos (6:55)
  • Start
    AI Guarding Behaviour (4:21)
  • Start
    Quiz - Enemy AI #1
  • Start
    That's Some Suspicious Behaviour (8:29)
  • Start
    Visualising Waypoints (9:13)
  • Start
    Waypoint Loops (6:37)
  • Start
    Patrolling Behaviour (9:28)
  • Start
    Dwelling At Waypoints (7:22)
  • Start
    Quiz - Enemy AI #2
  First Moment (1 hours 56 minutes)
Available in days
days after you enroll
  • Start
    Section Overview - First Moment (1:03)
  • Start
    Design A Moment (8:03)
  • Start
    Sketch Your Moment (8:22)
  • Start
    Tips To Improve Workflow (10:39)
  • Start
    Craft The Environment (10:54)
  • Start
    Hits-To-Kill Design Metric (8:05)
  • Start
    Quiz - First Moment #1
  • Start
    Tweak Enemy Patrol (13:03)
  • Start
    Cinemachine Follow Camera (9:04)
  • Start
    Make Cinematic Sequence (16:13)
  • Start
    Trigger Cinemachine Cut Scene (9:39)
  • Start
    The Observer Pattern In C# (14:04)
  • Start
    Player Input In Cutscenes (7:07)
  • Start
    Quiz - First Moment #2
  Scene Management (1 hours 23 minutes)
Available in days
days after you enroll
  • Start
    Section Overview - Scene Management (1:22)
  • Start
    Make A Second Scene (9:52)
  • Start
    Scene Loading Portals (7:47)
  • Start
    How Coroutines Work (10:12)
  • Start
    Wait For Scene To Load (7:00)
  • Start
    Player Spawn Point (11:26)
  • Start
    Cross Scene References (8:14)
  • Start
    Canvas Groups For Fading (2:28)
  • Start
    Quiz - Scene Management #1
  • Start
    Nested Coroutines For Fading (11:26)
  • Start
    Avoiding The Singleton Pattern (14:05)
  • Start
    Quiz - Scene Management #2
  Saving Asset Pack (1 hours 6 minutes)
Available in days
days after you enroll
  • Preview
    Section Overview: Saving Asset Pack (2:23)
  • Start
    WARNING - BinaryFormatter Security Vulnerability
  • Preview
    The Saving System Overview (5:38)
  • Start
    Triggering Saving And Loading (8:52)
  • Start
    Saveable Components And GameObjects (14:05)
  • Start
    Challenge: Saveable Health (6:21)
  • Start
    Checkpoints Between Scenes (12:00)
  • Start
    Loading The Saved Scene (8:59)
  • Start
    Quiz - Saving Asset Pack
  • Start
    BONUS: Capturing Multiple Parameters (7:43)
  • Start
    BONUS: Runtime Objects
  Saving System (3 hours 24 minutes)
Available in days
days after you enroll
  • Start
    Skip Or Continue
  • Start
    Section Overview: Saving System (2:09)
  • Start
    Save System Design (6:53)
  • Preview
    Overview Of Binary Serialization (12:14)
  • Start
    File Paths In C# (5:18)
  • Start
    Understanding Unicode (11:47)
  • Start
    Filestream Read And Write In C# (8:23)
  • Start
    Converting To Binary In C# (10:08)
  • Start
    Quiz - Saving System #1
  • Start
    BinaryFormatter For Serialization (16:52)
  • Start
    Saveable Entities (15:49)
  • Start
    Generating UUIDs In C# (10:26)
  • Start
    Editing SerializedFields (15:03)
  • Start
    Serializing With SaveableEntities (8:54)
  • Start
    Saving Multiple Scenes - Part 1 (8:56)
  • Start
    Saving Multiple Scenes - Part 2 (7:45)
  • Start
    Checkpoints Between Scenes (8:33)
  • Start
    ISaveable Components (14:40)
  • Start
    Quiz - Saving System #2
  • Start
    Deduplicating UUIDs (12:46)
  • Start
    Restoring Health (6:39)
  • Start
    Reloading The Last Scene (12:56)
  • Start
    Fading Before Scene Load (8:45)
  • Start
    Quiz - Saving System #3
  Simple Weapons (3 hours 7 minutes)
Available in days
days after you enroll
  • Start
    Section Overview: Simple Weapons (1:03)
  • Start
    Equip A Weapon (10:44)
  • Start
    Animator Override Controller (6:15)
  • Start
    Creating Scriptable Objects (7:28)
  • Start
    Unarmed As A Weapon (7:39)
  • Start
    Basic Weapon Pickup (11:23)
  • Start
    Quiz - Simple Weapons #1
  • Start
    Left Handed Weapons (11:45)
  • Start
    Make A Weapon Projectile (11:25)
  • Start
    Shoot Projectiles (12:24)
  • Start
    Damage From Projectiles (9:16)
  • Start
    Trails & Prefab Variants (12:03)
  • Start
    Quiz - Simple Weapons #2
  • Start
    Destroy Old Weapon (9:37)
  • Start
    Improve Projectile Behaviour (11:20)
  • Start
    Fireball Weapon & Pickup (6:41)
  • Start
    Fireball Particle System (8:58)
  • Start
    Projectile Impact Effect (5:49)
  • Start
    Quiz - Simple Weapons #3
  • Start
    Destroy The Unwanted (14:16)
  • Start
    Resetting The Default Animator (6:57)
  • Start
    Dynamic Resource Loading (9:46)
  • Start
    Saving Weapon Choice (5:47)
  • Start
    Pickup Respawning (7:03)
  • Start
    Quiz - Simple Weapons #4
  Character Stats (4 hours 23 minutes)
Available in days
days after you enroll
  • Start
    Progression Design (9:51)
  • Start
    Progression Scriptable Object (11:28)
  • Start
    Looking Up The Health Stat (14:01)
  • Start
    Debug Health Display (11:58)
  • Start
    Enemy Health Display (6:31)
  • Start
    Awarding Experience Points (10:52)
  • Start
    Editing Scriptable Object Files (9:20)
  • Start
    Quiz - Character Stats #1
  • Start
    Finding A Stat By Enum (9:01)
  • Start
    Saving Experience Points (2:56)
  • Start
    Displaying Experience (5:26)
  • Start
    Performant Lookups With Dictionaries (11:28)
  • Start
    Levelling Up (14:25)
  • Start
    Displaying The Level (3:06)
  • Start
    Squashing Health Bugs (7:52)
  • Start
    Events And Delegates (12:29)
  • Start
    Delegates And Actions For Leveling Up (7:04)
  • Start
    Saving Race Conditions (6:46)
  • Start
    Level Up Events And Particle Effects (11:59)
  • Start
    Damage Progression (11:00)
  • Start
    Quiz - Character Stats #2
  • Start
    Extensible Modifier System (12:03)
  • Start
    Percentage Modifiers (12:09)
  • Start
    Data Hazards And Race Conditions (7:55)
  • Start
    Hunting Down Race Conditions (9:10)
  • Start
    Awake vs Start (11:35)
  • Start
    Lazy Initialisation (12:49)
  • Start
    Progression Stats Spreadsheet (20:05)
  • Start
    Quiz - Character Stats #3
  Final Polish (5 hours 4 minutes)
Available in days
days after you enroll
  • Start
    Configurable Cursors (12:39)
  • Start
    Cursors And UI (10:36)
  • Preview
    Generic Raycastable Components (14:49)
  • Start
    Cursor Type With IRaycastable (7:05)
  • Start
    Raycast Sorting (9:40)
  • Start
    Raycasting To A NavMesh (15:59)
  • Start
    Calculating A NavMesh Path (15:50)
  • Start
    Quiz - Final Polish #1
  • Start
    In Game UI (9:46)
  • Start
    Text Fading Animation (5:06)
  • Start
    Spawning Damage Text (7:59)
  • Start
    Using Unity Events (11:29)
  • Start
    Updating The Damage Text Value (5:08)
  • Start
    Unity Events With Parameters (6:34)
  • Start
    Health Bar UI (12:54)
  • Start
    Updating The Health Bar Scale (7:05)
  • Start
    Disabling Empty Health Bars (5:47)
  • Start
    Quiz - Final Polish #2
  • Start
    Fixing The Fader (11:33)
  • Start
    Coroutine Race Conditions (10:53)
  • Start
    Camera Facing LateUpdate Fix (1:56)
  • Start
    Sound Effects And UnityEvents (13:49)
  • Start
    Quiz - Final Polish #3
  • Start
    Weapon Prefab Refactor (7:22)
  • Start
    Fighter To Weapon Communication (9:42)
  • Start
    Boom Microphone Audio Listener (8:20)
  • Start
    Health Pickup Hack (8:20)
  • Start
    Visual Polish Audit (5:47)
  • Start
    Visual Polish Part 1 (7:28)
  • Start
    Visual Polish - Macro Details (11:42)
  • Start
    Visual Polish - Micro Details (12:12)
  • Start
    Quiz - Final Polish #4
  • Start
    Combat Moment Fine Tuning (6:24)
  • Start
    Bug: Attacking Distant Enemies (8:00)
  • Start
    Enemy AI Agro (7:35)
  • Start
    Enemy Mob Mechanics (10:13)
  • Start
    Bug: Shooting Over Water (3:09)
  • Start
    You've Finished The Course! (1:29)
  Extras (0 hours 0 minutes)
Available in days
days after you enroll
  • Preview
    All Downloads

Frequently Asked Questions


When does the course start and finish?
The course starts now and never ends! It is a completely self-paced online course - you decide when you start and when you finish.
How long do I have access to the course?
How does lifetime access sound? After enrolling, you have unlimited access to this course for as long as you like - across any and all devices you own.
What if I am unhappy with the course?
We would never want you to be unhappy! If you are unsatisfied with your purchase, contact us in the first 30 days and we will give you a full refund.

Reviews

Get started now!