Using the Finite State Machine in Actionscript
11 Jan / 09
I have been reading some blog posts on how to use a Finite State Machine (FSM) in game development. According to Wikipedia, a FSM is a model of behavior composed of a finite number of states, transitions between those states, and actions. Richard Lord wrote a post about FSM in Actionscript and I am thinking of trying it out in my next game. I usually use a control class for the methods controlling a character but in complex games they attend to grow and become hard to keep track of. Using a FSM might (will) solve my problem and may even generate some good reusable states.
What the hell, I will try it out! I´ll keep you posted about the progress.
No related posts.






Post a comment