A Finite State of One: Rethinking the Singleton Pattern with FSMs
The Singleton pattern is a cornerstone of game development and application architecture, ensuring a class has only one instance and providing a global point of access. Yet, its impl...
We believe the most reliable software logic is logic everyone can understand.
The complex systems that drive modern applications—from character AI in games to business workflows and industrial robotics—are often best articulated not by a developer, ...
Previously we published a deep dive included with our documentation in our FSMAPI nuget package for our truly unique feature, runtime recomposition/definition of our FSMs. In this article we are sharing our document on Getting started in pure c#. W...
The FSM\API Advantage: Runtime Modification Technology
What sets the FSM\API apart is our FSMModifier technology, which allows for the dynamic reconstitution or definition of your Finite State Machines FSMs during runtime. No other FSM implementat...
Escaping Boolean Hell: Why Your State Machine Needs to be Data-Driven
We've all been there: a simple boolean flag here, a nested if statement there. It seems harmless at first, but soon your codebase is a tangled mess of conditional logic.
Let's t...
The Problem with the Classic Game Loop
Almost every interactive application, from video games to user interfaces, relies on a continuous execution loop. This loop is the heart of the application, responsible for everything from updating the game s...
At The Singularity Workshop we are building software for the singularity. Our latest Milestone has been reached: the resubmission of our Unity Integration package for sale on the Unity Asset Store. Before the release of our 45kb of raw digital power,...
Every developer has a story about an IDE or engine glitch that made them momentarily question their career choices. For me, that moment arrived late one evening, tracing a bug in our FSM-driven agents. Unity's Inspector decided to go on strike, showi...
The FSM Agent Architecture: Scaling NavMesh Agents with Decoupled Logic
We've mastered simple oscillating motion with the FSM Context Pattern; now, we apply this powerful architectural approach to a far greater challenge: Massive NavMesh Agent AI....
We've successfully established a reusable architectural pattern by isolating the data Context from the logic flow Finite State Machine for the three primitive motions: Rotation, Scaling, and Translation. We created three distinct, independent bluepri...
We're constantly striving to deliver the most valuable, actionable content for the Coder Legion community. Our FSMAPI and the Unity Integration package cover a broad range of technical scenarios—from core C# logic to real-time game state—and we want ...
Completing the Motion Trilogy: The Reusable TranslationFSM
We've conquered Rotation and streamlined Scaling using our FSM Context Pattern. In this article, we tackle the final primitive motion—Translation linear movement—to complete our core motion...
Applying the FSM Context Pattern to Scaling: The Reusable ScalarFSM
In our previous article, we demonstrated how to eliminate Update spaghetti by applying the FSM Context Pattern to complex Rotation logic. The result was a single, reusable blueprin...
Escaping Update Spaghetti: Reusable Oscillation with FSM & Context in Unity
If you’ve ever built a Unity object that needs to move or rotate between two points—like a swinging pendulum, a turret oscillating for patrol, or a security camera scanning...
Implementing Behavior Trees with FSM\API: The Quick Brown Fox and Lazy Sleeping Dog Demo
Finite State Machines FSMs are a foundational pattern for organizing complex logic in software, from game AI to business workflows. The FSM\API library provid...
The Architectural Pivot: Why The Singularity Workshop is Building MyVR with the FSM\API, Not a Custom Engine
At The Singularity Workshop, we are charting a course toward MyVR, a vision for a truly sovereign, scalable, and adaptable digital universe...