State machine interpreters

Posted by saadtaame on Game Development See other posts from Game Development or by saadtaame
Published on 2012-10-20T23:10:01Z Indexed on 2012/10/20 23:21 UTC
Read the original article Hit count: 188

Filed under:
|
|

I wrote my own state machine tool in C and at this point I'm faced with two choices for specifying state machines.

  1. Crafting a little language and writing a interpreter.
  2. Writing a compiler for that language.

I know the advantages/disadvantages of each. I'd like to know what choices game programmers have made for their games. If you've used a state machine in your game in any form, I'd be interested in knowing how you did it.

© Game Development or respective owner

Related posts about ai

Related posts about c