How to create a better AI for your Unity game

How to create a better AI for your Unity game

  • English
  • Game Development
  • UnityUnity
  • (1627)
  • Project length: 7h 07m

Welcome to this series! We’ll be creating a solid and production quality AI. Producing a full endless zombie game mode (CoD Zombies like), featuring a high quality AI In Unity3D, using all AI tools that the engine is giving to us.

Overview

How to create a better AI for your Unity game

Introduction

In this project, you will create and have a solid understanding of NavMeshes and NavAgents, handling at least 20-30 NavAgents at once, and while you are learning this, we will create a fun project so you understand how Unity’s AI tools are used in a production environment in a more digestible way.

What are the requirements?

  • Intermediate C# and Unity3D Knowledge.

What is the target audience?

  • Anyone interested in learning how to create character states for your AI.
  • You want to learn how to create high quality AI behaviours.
  • Strengthen your AI and programming skills.

Project Outline

Session 1: Setup - In these sessions we will setup the correct versions of the tools we are going to use.

  • Session 1.1: Setting up Unity and Visual Studio.
  • Session 1.2: Basic knowledge about NavAgents and NavMeshes.

Session 2: Data Structure - We will be defining all the base data structures for our project, like health, movement and our general enemy data and AI States.

Session 3: Game UI - We will set up our user interface for showing all the information needed for our project.

Session 4: Game Logic - In this session we will begin coding our infinite zombie game and implementing our AI, from basic to a fully featured AI with character states.

  • Session 4.1: Creating our FPS Controller.
  • Session 4.2.1: Main game behaviour PART 1
  • Session 4.2.2: Main game behaviour PART 2
  • Session 4.3.1: Connecting data with the UI & Shooting PART 1
  • Session 4.3.2: Connecting data with the UI & Shooting PART 2
  • Session 4.4.1: Creating enemy basic AI and Navmeshes PART 1
  • Session 4.4.2: Creating enemy basic AI and Navmeshes PART 2
  • Session 4.5.1: Enemy intermediate AI and Navmesh links PART 1
  • Session 4.5.2: Enemy intermediate AI and Navmesh links PART 2
  • Session 4.6: Game State.

Session 5: Final Touches - In this session we will test all our project that we have made, then fix all of our bugs found, followed by further project notes and final details.

Session 6: Project Recap

Reviews

Average rating

5(1627 Reviews)