https://github.com/nenniana/modular-game-phase-system
A modular framework for managing game phases in Unity, allowing developers to define custom phases and triggers with complex conditions.
https://github.com/nenniana/modular-game-phase-system
dependency-injection game-design game-development game-prototyping state-management unity
Last synced: about 1 month ago
JSON representation
A modular framework for managing game phases in Unity, allowing developers to define custom phases and triggers with complex conditions.
- Host: GitHub
- URL: https://github.com/nenniana/modular-game-phase-system
- Owner: Nenniana
- License: gpl-3.0
- Created: 2024-08-31T11:35:26.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-12T18:13:23.000Z (8 months ago)
- Last Synced: 2025-03-24T11:16:13.785Z (about 1 month ago)
- Topics: dependency-injection, game-design, game-development, game-prototyping, state-management, unity
- Language: C#
- Homepage:
- Size: 5.31 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Modular Game Phase System

This Unity project, created as a personal passion project, seeks to offer a modular framework for managing game phases (e.g., menus, gameplay states) within a Unity game.
## Concept
The system was created with the intention of allowing developers to define and manage custom game phases and triggers in a modular way, which designers may then easily configure and combine to create larger game systems. While the foundation is provided, developers must create specific phases and triggers, after which designers can easily configure diverse phase systems.
## Features
- **Modular Phase Management**: Easily extendable framework allowing for the creation of custom game phases.
- **Phase Groups**: Allows for looping over a group of phases within other phases with both internal and group triggers.
- **Custom Trigger System**: Define custom triggers with complex conditions for more precise phase control. Triggers determine when a phase ends and can be grouped with various conditions (e.g., trigger on any, all, or a specific number met).
- **Realtime Inspector Feedback**: View realtime changes of both phases and triggers within the Unity Inspector.
- **Dependency Injection**: Utilizes dependency injection to enhance modularity and reduce coupling between components.## Potential Enhancements
- **Goto Feature**: Implement a feature allowing certain triggers to bypass the next phase and jump to a specific one instead.
- **Custom Transitions**: Adding more customizable transition effects to improve the user experience.
- **Enhanced Documentation**: Adding detailed examples and documentation.