Saturday, November 12, 2011

Hungry Bastard - Finite State Machine AI Demo

So I was browsing the GMC once, and I noticed someone having trouble with their virtual pet's artificial intelligence. After looking through the code and providing suggestions, I decided that I would make my own finite state machine demo. Everybody, meet the Hungry Bastard:


Controls are simple:
Green bar is hunger. Purple bar is food. Up - refill the food.

No comments:

Post a Comment