Jump to content
  • Advertisement
Sign in to follow this  
Tigerass

FSM classics

This topic is 3718 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
I don't know any entire books about FSMs... I don't think you could write an entire book about FSMs. Usually they are completely explained in one chapter. There's not a lot to say about them. And, with that in mind, any AI book will likely cover them.

Share this post


Link to post
Share on other sites

Do you mean strictly related to the ones used in games or in general, everyday software? There's an abundance of books that is theory related, less so for writing actual "automaton software" since it's quite easy to derive from the theory. At least that is what I have concluded.

Two fairly classical ones:They are more finite state automaton and complexity theory. Finite state machines, like used in constructing mission critical software, are then more like reactive and dynamic systems in traditional computer science.

Share this post


Link to post
Share on other sites


The AI Game Programming Wisdom books had articles on building FSMs using C/C++ macros. The structure of FSMs done in a high level langauges which is expanded (via them really being C Macros) to source code that would be compiled to native code. I recall there was another article where that author improved it into a simultaneus running FSM sytstem.

Share this post


Link to post
Share on other sites
It was actually the series editor, Steve Rabin, that wrote those. It appeared in AI Wisdom 1. The following section extended the FSM class via messaging. The structure is that there is a FSM class that your agent class can inherit from. Tehcnically, it's not very complex. Stylistically, it is quite slick in that it makes things fairly readable. All you have to worry about is dropping a new state into your object, define what happens on enter, update and exit and then toss in your transition logic.

Share this post


Link to post
Share on other sites
In general I can suggest this book:

http://www.wordware.com/files/ai/

that contains also a finite state machine example scripted and only coded!

Also try "AI Game Engine Programming", it contains a very clean explanation of Finite State Machine and some other examples!


This is a small tutorial:

http://www.ai-junkie.com/architecture/state_driven/tut_state1.html

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!