Img

Flexy.GameFlow

Hierarchical Game State Architecture for Unity

Flexy.GameFlow is a production-grade runtime framework that structures the entire game as explicit hierarchical states instead of scene-driven flow

It orchestrates global game stages (Boot → Menu/Meta → Core/Gameplay)
Drives UI navigation as states (Main Menu, Settings, Shop, Rewards, Arsenal)
Manages gameplay states (Play, Pause, Win, Lose, Results, Cutscenes) and nested substates (Boss Fights, Result Tabs, Phase Controllers)

Scenes, transitions, data flow, and runtime context are all controlled through the state hierarchy, allowing every part of the game to remain isolated, testable, and deterministic

---

What Flexy.GameFlow Is

Core Responsibilities

Included Features

Pro Capabilities

Architecture Model

Integration with Flexy Framework

What Flexy.GameFlow Is Not

Explicit Non-Goals

Who Flexy.GameFlow Is For

UI-Heavy Games

Gameplay-Centric Games

Growing Productions

Prototyping to Production

Solo Developers

Teams with Designers & UI Artists

Fast Iteration Workflows

Networked Games

Who It Is Not For

Core Design Philosophy

Speed over Purity

Visual over Hardcoded

Explicit over Magic

Speed and Iteration Workflow

Typical State Creation Flow

No Registration System

No Identifiers or Paths

Logic and Code

Role of Code

Ready-to-Use Helpers

Runtime Safety and Execution Order

Guaranteed Runtime Context

Stability in Complex Scenarios

State Testing and TestCases

Isolated State Testing

Scenario-Based TestCases

Debugging Benefits

Advanced Transitions

Animated State Flow

Loader Screens

Scalability Across Team Sizes

Solo Developers

Small Teams

Large Studios

Instance-Based Architecture

Comparison With Common Approaches

Ad-hoc Scene & UI Managers

Home-Grown Game State Systems

Heavy Architectural Frameworks

Flexy.GameFlow Advantages

Trust and Maturity

Production Usage

Longevity

Showcase Role

Responsibility Boundaries

What Flexy.GameFlow Does Not Cover

Summary

Key Benefits

Design Intent

Ideal Project Fit