♫musicjinni

Combat AI for Action-Adventure Games Tutorial [Unity/C#] [GOAP]

video thumbnail
In this tutorial, we make a planning combat AI system in Unity and C#. I explain GOAP on a technical level, then what I made and why, and how it can be improved. Feel free to fork the repository and learn from it or improve on it (it's definitely incomplete): https://github.com/anneomcl/HappieGOAPGame I'm going to keep using Unity/C# in tutorials for the sake of consistency and simplicity, though I may use Unreal in the future, we'll see :)

Last week's "How Games Work" video on this system: https://www.youtube.com/watch?v=nEnNtiumgII

Ask questions or participate in the challenge: https://www.reddit.com/r/TheHappieMakers/

Resources:
GOAP System Tutorial: http://gamedevelopment.tutsplus.com/tutorials/goal-oriented-action-planning-for-a-smarter-ai--cms-20793
Zelda-Style Health Tutorial: https://www.youtube.com/watch?v=-z-KLXPPGmg
Tile Art: http://opengameart.org/content/dungeon-crawl-32x32-tiles

Pro-tip: Click on the gear and set the speed to 1.5x or 2x. You'll probably be able to keep up with everything in half the time. That's how I got through school.

My Second Channel: https://www.youtube.com/c/TheHappierCat2
Twitter: https://twitter.com/TheHappieCat
Facebook: https://www.facebook.com/TheHappieCat/
Disclaimer DMCA