Project Foundation WIP
Project Foundation is a horror game project in Unity. A lot of the current work has been on the systems that support the atmosphere: speech, sound routing, glitches, delays, and the kind of small presentation controls that are painful to author if they only exist in code.
The part I have spent the most time on is the speech system. Horror games lean heavily on timing and audio texture, so I wanted a tool that makes it easy to write, preview, and tune speech without constantly entering Play Mode.
Speech Authoring
The speech system is built around a bank of recorded voice clips. It can resolve typed text into clips, preview the result in the editor, and expose useful autocomplete so authoring does not become guesswork.
The important thing is that it is editor-first. I wanted the inspector to be the place where the work happens: type a line, preview it, see how it resolves, and adjust the syntax without digging through a runtime-only API.
Syntax And Playback
The system has lightweight syntax for presentation controls. Background clips can play under the main speech. Glitch syntax can stutter the opening slice of a clip instead of replaying the whole thing. Delay commands can pause between pieces of speech. Output routing can send parts of the line to different mixer groups.
That gives a line of dialogue more shape without requiring a custom timeline every time. It also keeps runtime playback and editor preview close to each other, which matters because audio that previews one way and plays another way is not useful for authoring.
Inspector Performance
The voice bank is large enough that the inspector itself became part of the project. Rendering every clip and recomputing preview state on every redraw made the tool sluggish, so the editor workflow now hides the heavy clip list, caches preview results, and only rebuilds the library when it actually changes.
It is not glamorous work, but it is the difference between a feature that technically exists and a feature that can be used for real content.
Why It Exists
Project Foundation is still taking shape as a horror game, but the direction is already visible in the tooling: give the game strong audio and presentation systems early, so building scenes later does not turn into fighting the editor.