FSM/SLN AI Demo

BlitzMax Forums/BlitzMax Beginners Area/FSM/SLN AI Demo

ninjarat(Posted 2007) [#1]
Hey, check this out! I've got a BlitzMax AI demo available for download: http://rattuscanisdev.g0dsoft.com/modules/wmpdownloads/

I've tried to document this as best I could, but I'm working on doing more, in case it's not enough.

In this case I've combined a Synchronous Logic Network with a Finite State Machine. The Analyzer Unit examines the current situation and flags the beneficial behavioral options. Then the SLN Unit makes a decision as to what the Finite Behavior State should be. FSM then applies the proper behavior algorithm to the entity and handles special behavior transition states. Last is the Render Unit, which draws everything. Repeat.

I hope you can learn something about AI programming from it! ;)

EDIT: Oh yeah, it's called Bugz, and the concept is strongly based on a Blitz Coders example. This is where I got the idea of using a SLN to beef up that Blitz Plus example as well. Download the latest version which as of now is V2.


computercoder(Posted 2007) [#2]
That's pretty cool. AI is fascinating stuff :)