Dame Ternera's state machine (Patreon)
Published:
2023-03-07 18:56:54
Imported:
2023-07
Content
I laugh at the naïvety of my past self, who thought programming a videogame character's state machine would be a simple task. It's been months and I'm still nowhere near done. Fortunately, design patterns are very useful when creating code that needs to expand without becoming impossible to handle. So I present to you a gross oversimplification of Dame Ternera's control state machine.