Published: 31 Aug 2023
Go to this video's Sponsor: 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!
Learn how you can implement Enemy AI with a Behavior Tree!
This is a full implementation using AI Tree (https://assetstore.unity.com/packages/tools/behavior-ai/ai-tree-229578?aid=1101l9QvC), a powerful Behavior Tree framework with advanced features like Environment Query System (EQS) and a Perception System.
While we're using AI Tree specifically in this tutorial, you can use virtually any Behavior Tree framework to get similar results for this use case.
A special thank you to Renowned Games for the copy of AI Tree used in this tutorial ๐งก!
๐ท๏ธSave 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly
๐จโ๐ป As always, all code from this video is available on GitHub: https://github.com/llamacademy/ai-series-part-48
I cannot include AI Tree itself or the Quirky Llama since they are paid assets, but if you own those, simply import them and you are good to go!
๐ Resources:
โซ AI Tree: https://assetstore.unity.com/packages/tools/behavior-ai/ai-tree-229578?aid=1101l9QvC
โซ The Quirky Llama: https://assetstore.unity.com/packages/3d/characters/animals/mammals/llama-quirky-series-178234?aid=1101l9QvC
โซ Unity Particle Pack: https://assetstore.unity.com/packages/vfx/particles/particle-pack-127325?aid=1101l9QvC
โซ A more scalable way to define enemy stats: https://youtu.be/PoglGJoDcZg
โซ The same Enemy AI implemented with a Finite State Machine: https://youtu.be/jnETyJUiCiM
โซ Not sure which AI Behavior Framework to use? Check out my comparison video: https://youtu.be/CZvfuNfdc1M
๐งก Believe in LlamAcademy's mission and have received value from the videos? Here's how you can show your support:
๐ Patreon: https://www.patreon.com/llamacademy
๐ YouTube Member: https://www.youtube.com/channel/UCnWm6pMD38R1E2vCAByGb6w/join or click the Join button on any video
๐ Take my Unity ShaderGraph Course:
https://www.gamedev.tv/p/unity-shader-graph?affcode=45216_kuvg0bp7
๐ Get yourself some LlamAcademy merch: https://llamacademy.myspreadshop.com/
๐ธ Use my Affiliate Link for Humble Bundles https://humblebundleinc.sjv.io/9g4ak4
๐ธ Publisher Sale! 50% OFF an entire publisher's Assets! Publisher changes weekly! https://assetstore.unity.com/publisher-sale?aid=1101l9QvC (affiliate)
๐ธ Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sale=true&orderBy=1&aid=1101l9QvC (affiliate)
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.