THE DEADLY SCRIPT

Branching text-based mystery built in Unity with a focus on systems-driven narrative.

Unity C# Narrative Systems UI / UX

Overview

The Deadly Script is a 2D text-driven mystery game where the story branches based on player choices, timing, and hidden state variables. The focus was on building a flexible system for dialogue, choices, and conditional outcomes rather than scripting every path manually.

My Role

  • Implemented the entire gameplay and narrative logic in Unity using C#.
  • Built the dialogue system, choice handling, and state tracking backend.
  • Designed and coded the typewriter text effect and responsive UI transitions.
  • Collaborated on pacing and narrative beats to match the underlying systems.

Key Systems

  • Dialogue Engine: Data-driven system to define lines, speakers, branches, and conditions in a structured format.
  • Choice & State Tracking: Player decisions update internal variables that influence later scenes, outcomes, and available options.
  • Typewriter & UI Feedback: Timed text reveal, emphasis effects, and subtle animations to keep a text-heavy experience engaging.
  • Tools Mindset: Organized code so new scenes and branches can be added quickly without rewriting core logic.

Tech & Tools

Unity, C#, ScriptableObjects or custom data structures for dialogue, UI Toolkit / Canvas, coroutine-based timing, and event-driven architecture for game state changes.

GAMEPLAY VIDEO

RETURN TO THE GAME VAULT