Warning: A non-numeric value encountered in /home/fixbyp5/public_html/wp-content/themes/Divi/functions.php on line 5752

This post is a portion of Part 13 in my on going series about 2D Game Development using the Allegro 5 library. These posts are in course order. You can see all of the posts in this course by clicking the “2D Game Development” button at the top of this site.


You’re all going to like this one. We can extend the concept of states to also include the behaviors of in game objects. Doing this is called Finite State Machine (FSM) Artificial Intelligence. Granted, we aren’t getting very deep into the concepts of AI in this video, and we are definitely stunted since we aren’t using OOP, but it is a good primer nonetheless. I hope you enjoy it as much as I enjoyed making it.

Full source can be found here.