drjavi
patreon
Dame Ternera's state machine
🕑 Added 2023-03-07 18:56:54 +0000 UTCI 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.