GithubHelp home page GithubHelp logo

llamacademy / ai-series-part-48 Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 2.0 72.05 MB

See a full, end to end implementation of an enemy AI with 4 attacks using a Behavior Tree framework, AI Tree.

Home Page: https://youtu.be/J7RnUc4g9Pk

License: MIT License

C# 21.72% ShaderLab 68.11% HLSL 10.17%
ai behavior-tree behaviortree game-development gamedev gamedevelopment tutorial tutorial-code unity unity3d

ai-series-part-48's Introduction

Enemy AI Behavior Tree

In this tutorial repository and accompanying video you can see a full, end to end implementation of an enemy AI with 4 attacks using a Behavior Tree framework, AI Tree.

As of the Navigation Components 1.1.3, NavMesh.CalculateTriangulation() does not properly generate NavMeshTriangulation.areas per Navigation Area. Showing navigation areas therefore only works if you build using the legacy system, which does not support different navigation meshes per NavMeshAgent type.

Youtube Tutorial

Quickstart

This repo uses AI Tree as the Behavior Tree framework. Since this is a paid asset it cannot be included. It also uses a Quirky Llama model which is less important, but the animation names that are played will need to be updated to whatever animations you choose to use. If you do not own at least AI Tree, you will have to reconstruct the Behavior Tree and modify the code to match with your behavior tree framework of choice.

  1. Import AI Tree and Quirky Llama (or replace llama with your 3d model)
  2. Import Unity Particle Pack (free)
  3. Click play!

The package manifest includes Navigation Components already.

Sponsors

This tutorial is Sponsored by Southern New Hampshire University. If you're interested in leveling up your gamedev skillset, consider getting an affordable, accredited degree in Computer Science or Game Design & Development from SNHU. You can go to https://snhu.edu/llamacademy to see what the current average annual salary for a game developer programmer is and learn how you can get started!

Supporters

Have you been getting value out of these tutorials? Do you believe in LlamAcademy's mission of helping everyone make their game dev dream become a reality? Consider becoming a Patreon supporter and get your name added to this list, as well as other cool perks. Head over to the LlamAcademy Patreon Page, join as a YouTube Member, or even become a GitHub Sponsor to show your support.

Phenomenal Supporter Tier

  • Andrew Bowen
  • YOUR NAME HERE!

Tremendous Supporter Tier

  • Bruno Bozic
  • YOUR NAME HERE!

Awesome Supporter Tier

  • AudemKay
  • Matt Parkin
  • Ivan
  • Reulan
  • Iffy Obelus
  • SolarInt
  • Perry
  • YOUR NAME HERE!

Supporters

  • Trey Briggs
  • Matt Sponholz
  • Dr Bash
  • Tarik
  • Sean
  • ag10g
  • Elijah Singer
  • Lurking Ninja
  • Josh Meyer
  • Ewald Schulte
  • Dom C
  • Andrew Allbright
  • AudemKay
  • Claduiu Barsan-Pipu
  • Ben
  • Xuul
  • Christian Van Sttenwijk
  • Michael Creel
  • Joseph Janosko
  • Joao Henrique Machado Silva
  • YOUR NAME HERE!

Super Thanks

  • Patrizio Veglia
  • Travis Blue

Other Projects

Interested in other Topics in Unity?

Requirements

  • Requires Unity 2022.3 LTS or higher.
  • Universal Render Pipeline

Disclaimers

Some links in this readme may contain affiliate links which, at the time of purchase, at no additional cost to you, gives me a small portion of the purchase.

ai-series-part-48's People

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.