Jump to content

April 2017 »

S M T W T F S
      1
2345678
9101112131415
16171819202122
23242526272829
30       

Recent Comments

View more

True, False, Maybe

4: Adsense

State Machines in Games – Part 5

Okay, quick review. Part 1 - basics of a state machine ; Part 2 - simple state machine interface ; Part 3 - turning the simple state machine into a dungeon exploration game ; Part 4 - making it data driven . That brings us to Part 5, an artificial intelligence system. First, I know this pattern is used in major games.  How do I know?  First, because I wro...

State Machines in Games – Part 4

Back to the castle exploration game.  We're still working with an single state machine in the AdaptableStateMachine engine.  This will be our third concrete example of a state machine.Recap: In Part 1  we covered the definition of a state machine and implemented a simple machine with a case statement.In Part 2  we created a common state machine interface,...