TLDR: What do people recommend for implementing FSMs in Phaser? Details: Since FSMs make it a lot easier to manage the complexity of game states, I try to use them in all my games. This is not the same as what Phaser calls states. That looks like it's more for screen management. This article explains the state pattern that I'm referring to pretty clearly. So I'm wondering how do people recommend implementing FSMs within a Phaser state? What patterns or plugins they use? Or do they roll their own? If roll your own, any advice on implementation? Or maybe my understanding of Phaser states is mistaken and they can be used for FSMs and I just don't know how?