unity-game-loop
OfficialBuild engaging game loops and progression.
Software Engineering#unity#pacing#session management#progression#scriptableobject#game loop#difficulty
AuthorNice-Wolf-Studio
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the common issue of AI-generated features lacking a cohesive game loop, resulting in isolated systems and no clear progression or session boundaries. It translates design intent into robust code architecture for core loops, session lifecycles, win/lose conditions, meta progression, difficulty tuning, and pacing.
Core Features & Use Cases
- Core Loop Scaffolding: Enforces ordered phases (e.g., Explore, Collect, Craft, Survive) with extensible
IGamePhaseimplementations. - Session Lifecycle Management: Manages distinct play sessions with explicit start/end events, enabling restarts without scene reloads.
- Win/Lose Condition Architecture: Allows designers to define win/lose conditions using ScriptableObjects, evaluated by a
ConditionEvaluator. - Meta Loop Hooks: Facilitates persistent progression (currency, unlocks) between sessions via a
MetaProgressionService. - Tunable Difficulty System: Enables designers to tune difficulty parameters using
AnimationCurves inDifficultyConfig. - Pacing & Encounter Timing: Manages game rhythm and intensity using a
PacingDirectorandPacingCurveConfig. - Use Case: A game designer wants to create a roguelike where each run has a clear start and end, escalating difficulty, and persistent unlocks between runs. This Skill provides the architectural patterns to implement these features robustly.
Quick Start
Implement a new game phase by creating a class that inherits from IGamePhase and configuring it in a GamePhaseConfig asset.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: unity-game-loop Download link: https://github.com/Nice-Wolf-Studio/unity-claude-skills/archive/main.zip#unity-game-loop Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.