Ken Chen

Game Developer

State Machine Node Editor

State Machine Editor

game-name preview

-Designers can now work with a visual graph which reduces the time spent on figuring the graph
-Each state machine is saved as a graph
-States are more complex as it contains more events which allows more design

Simple approach with enums and switch/case statements

game-name preview

-No flexibility in larger projects and in teams
-Hard to maintain
-Designers can't make changes easily which makes it harder to test certain designs
-Cannot reuse most parts of this

Strategy/Policy Pattern for state machine, a more flexible/modular approach

game-name preview

-Designers can now drag and drop pieces together to create their own State Machine
-A modular system that can work for any behaviours
-Easily maintained by the programmers
-Still not visual enough for more complex AI behaviours