🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Latest finitestatemachine Activity
![Finite State Machine - Refactor Take 2](https://uploads.gamedev.net/blogs/monthly_2023_11/large.30a2e7754b0b4fd682718ebbea93e8bd.Tools_1300x300.jpg)
I finally came back to my Gaslands side project after about a year. For those that don't know, Gaslands is a turn-based table-top miniatures game where you modify toy cars to look like Mad Max vehicles. The goals of a game changes based on the scenario, but in general you move around with special M…
Way back when, I implemented a finite state machine system with macros in C. You would actually write the FSM tables into the code in table form. It was mainly for parsing. I added the ability to add optional function pointers for each state and input combination. In addition, those functions could…
![Finite State Machine for Turn-Based Games](https://uploads.gamedev.net/blogs/monthly_2022_09/large.7b515a02420a4137b747e9fa161c7c39.Tools_1300x300.jpg)
Lately I've been working on a computerized version of GasLands just for fun. Gaslands is a turn-based table-top miniatures game where you modify toy cars to look like Mad Max vehicles. The goals of a game changes based on the scenario, but in general you move around with special Maneuver Templates …
For the chapter ‘Market Day’ the location FSM 'town square' would be different than the FSM for the same location during chapter ‘Execution Day’.
…
Drilling down to the location-FSMs, each of them owns a set of non-player-character[NPC]-FSMs, multiple of which can be currently active.
I'd expect a lot…