(Deep Sea Game) Details of FSM / by Legolas Wang

Finite State Machine, a word that is very familiar industry. A man should never overlook the important of FSM. A few years ago, when I first heard of this word, I was thinking about the FSM is only useful for keep track of the player state in a singe, streamlined environment. But that’s not the case.

FSM is very useful for many objects in the game, for example, a loot box could have a simple switch of on and off. A puzzle could be certainly take advantage of keep track of each pieces in game. And the list goes on and on, if you want to create some fun mechanic, starting from finite state machine will never let you down.