itch.io is community of indie game creators and players

Devlogs

Open-source AI in Unity

State Machine AI
A browser game made in HTML5

I decided to make a little game with with some free art assets while on holiday. Well, I quickly realized I would need AI code for the enemy characters, so I whipped up a little demo of an AI character controlled with a state machine and waypoints.

I then decided to open-source the project since it's good for learning some basic AI and a great starting point for building more elaborate characters. Enjoy!

https://github.com/jhocking/StateMachineAI

Files

  • StateMachineAI.zip 4 MB
    Dec 30, 2021
Leave a comment