
Sevenfold
ROLE
Gameplay programmer / AI Programmer
Focus
AI behavior, photography mechanics, and gameplay systems.
DESCRIPTION
Seven photographs. One relentless hunter. Armed with nothing but your camera, venture into a mysterious forest filled with strange creatures waiting to be discovered. Photograph creatures, document your findings, and earn enough points to meet your quota and escape. But there's a catch: Every seventh photograph awakens something far more dangerous.
YEAR
2026
GENRE
Horror
Status
Game Jam Release
Engine
Unity Engine
PLATFORM
WebGL
Timeframe
1 week
Gameplay Programming Breakdown
Gameplay Goals
-
Create a horror experience centered on risk-reward photography.
-
Build monster AI focused on stalking rather than pursuit.
-
Develop reactive wildlife AI to populate the forest.
-
Reward photo framing, distance, and clarity through scoring.
-
Integrate photography, discoveries, and progression into a journal.
System Implementation
AI Behavior Systems
-
Developed multi-state monster AI with idle, wander, stalk, and hunt behaviors.
-
Implemented stalking AI that teleports out of sight when observed.
-
Built a photobomb system triggered by photographs during the stalking phase.
-
Integrated Sensor Toolkit for AI perception and detection.
-
Adapted the monster AI implementation for wildlife wandering and fleeing.
Photography & Gameplay Systems
-
Built a first-person controller and camera system using Unity Render Textures.
-
Developed photo scoring based on subject centering, distance, and blur.
-
Created a journal tracking photo scores, quotas, creature entries, and images.
Gameplay Demo
Full Breakdown
Monster AI
Stalking Behavior
Video demonstration of the stalking behavior. The sphere in the scene view to the right represents the monster's current position
Photobomb
Video demonstration of the photobomb system, showing the monster teleporting to the edges of the camera's field of view when a photograph is taken during stalking.
-
Built a C# state machine managing idle, wandering, stalking, and hunting.
-
Developed a custom timer system to control state transitions and updates.
-
Used camera frustum bounds to calculate off-screen teleport positions.
-
Integrated collider-based visibility detection to control teleportation.
-
Created camera-triggered photobomb behavior during stalking.
-
Implemented photograph-based triggers for early and seventh-photo hunts.
-
Integrated Sensor Toolkit for AI perception and detection.
Technical Overview
The main challenge was creating a monster that built tension without constantly pursuing the player. Rather than relying on traditional chase behavior, I designed a stalking system where the monster appears unpredictably around the player, creating unsettling encounters before transitioning into an aggressive hunt.
​
I developed the AI using a C# state machine supported by a custom timer system to manage state transitions and behavior updates. During stalking, the monster uses the player's camera frustum bounds to select teleport positions outside the field of view, within a defined threshold. I integrated a camera target detection system developed by our technical artist, which evaluates capsule collider bounds to determine whether the monster is visible. This allows the monster to remain stationary while observed and reposition once it leaves the player's view.
​
To connect the AI directly to the photography mechanic, I created a photobomb system that can position the monster near the edges of the camera's field of view when a photograph is taken during stalking. Photographing the monster triggers an early hunt, while the seventh photograph automatically initiates hunting, shifting the experience from psychological tension to direct pursuit.
Photography and Scoring

Video demonstration of the camera Render Texture and photo scoring system, with scoring factors displayed in Unity's Console.

Unity Console output showing photograph quality rankings and the individual center, focus, and size factors used to calculate each score.
-
Built an in-game camera using Unity Render Textures.
-
Implemented autofocus with an initial blur when raising the camera.
-
Evaluated subjects based on frame coverage, distance, and centering.
-
Incorporated photograph blur into the quality calculation.
-
Combined scoring factors into a final score and quality ranking.
-
Connected photograph scores to the player's quota progression.
Technical Overview
I developed the photography system to reward players for carefully composing their shots rather than simply capturing creatures anywhere in the frame.
​
Using Unity Render Textures, I created an in-game camera that displays the scene through its viewfinder. The camera features an autofocus mechanic that begins blurred when raised and gradually brings the scene into focus. When a photograph is taken, the system evaluates how much of the frame the subject occupies, its distance from the camera, its position relative to the center of the frame, and the photograph's blur.
​
These factors are combined into a final score and quality ranking, providing immediate feedback to the player. The score is then recorded in the journal and contributes toward the player's photography quota.
Journal & Progression

Video demonstration of the journal system, showcasing quota tracking, creature bestiary entries, and the gallery of captured photographs.

Unity ScriptableObject used to configure journal difficulty, including required species count, quota scaling, and repeated-photo falloff.

Journal inspector view showing stored photo data, creature entries, gallery configuration, and contract quota information.
-
Developed a journal system integrating photography and progression.
-
Implemented quota tracking using accumulated photograph scores.
-
Created a bestiary containing information and hints about forest creatures.
-
Integrated Texture2D photo storage into the journal gallery.
-
Connected photograph scoring and progression to the journal UI.
Technical Overview
I developed the journal system to connect photography, creature discovery, and player progression. It manages the player's photography quota, bestiary, and gallery of captured images.
​
The quota system uses Unity ScriptableObjects to configure difficulty settings, including required species counts, quota multipliers, and diminishing returns from repeated photographs. These settings allow difficulty to be adjusted without modifying code, while each photograph's score contributes toward the player's quota.
​
For the gallery, I integrated a Texture2D-based photograph storage system developed by a colleague. The bestiary provides hints about forest creatures, helping players identify photography subjects and track their discoveries.
Post-Jam Improvements
Following the original game jam release, I continued refining Sevenfold to improve gameplay clarity and the photography experience.
​
-
Extraction Clarity: Improved extraction visibility with vehicle lighting, clearer objectives, and audio feedback.
-
Camera Zoom: Added zoom functionality to give players greater control over photograph framing.
-
Scoring Reliability: Refined the photography scoring system to produce more consistent and reliable results.​
​​
These improvements are included in the updated gameplay build showcased throughout the technical demonstrations above.
