Game jam · Development lead · Nov 2026
One Cut from Death
The editing room and menu, cutting the film into strips, trying pairs on the playback machine, reassembling the film, and scenes playing on the machine's screen.
A noir film-editing puzzle made in four days for the 2026 Epic AI MegaJam. You are a director in a postwar editing room: cut a 12-scene detective film into strips, try pairs on a playback machine, and reassemble the film in a new order. The order of the scenes decides whether the heroine dies or survives, and the goal is the cut where she lives, in as few cuts as possible.
My part, as development lead
- Broke a 23-page design document into 39 tasks across two tracks, with a branch per task, and took the team to a packaged Windows build in four days
- Game rules as plain C++ with no engine objects: cutting, a two-slot playback machine, assembly, and a story evaluator that plays any scene order against a data table and gives the verdict, covered by 59 automated tests
- Engine side: a GameInstance subsystem that exposes the puzzle to Blueprint, a player controller with five work views on Enhanced Input, per-view cameras, in-world video playback, 3D film strips, an animated MetaHuman director and a Slate UI
- Directed Claude Code and Codex as the main way of writing the code: wrote the briefs, set the rules, reviewed the results and chose between conflicting versions
- After the deadline, fixed four problems from the designer's review (video playback, a cutting dead end, scene brightness and overlapping text) in one morning, confirmed in a new packaged build
The team
- Sami: environment, cameras, video playback Blueprints, mouse controls and final polish
- A game designer, a 3D artist, a film team for the video clips, and audio
Solo proof of concept · 2026
Field Correspondent
"What was that?" answered from its own memory, cited. The F3 panel shows the hybrid search (BM25, vectors, rank fusion) and the memory pinned into the prompt.
A reporter NPC in a newspaper building that you can talk to. It talks through a language model, streamed over HTTP. It knows the building from a handbook it searches and cites. It acts by proposing an action that C++ checks before a behavior tree carries it out. And it notices what happens around it, remembers it and files dispatches that cite what it saw. It runs offline with a scripted model, or with Claude or any OpenAI-compatible server, chosen in Project Settings.
The model asks, C++ decides
- Five tools:
guide_to,follow_player,wait_here,investigate,file_dispatch. The model never moves the pawn FCIntents::Routechecks every call against a whitelist and the NavMesh (a complete path, not just a point on it) and refuses with a reason the model reads back: "There is no walkable way to Weather mast from here"- A new message aborts the running branch: "Actually, wait here" stops a guide mid-walk in about 0.2 s
- Async HTTP with timeouts and streamed replies in both the Anthropic and OpenAI formats; no Tick on the NPC
BT_Correspondent, as built
Generated by a C++ commandlet as a real editor graph. One branch per mode, each gated by a custom Mode Is decorator that aborts both ways, so a new intent takes over at once. Six of the nodes are custom C++.
- SelectorCorrespondentUpdate Context
- SequenceInvestigateMode Is Investigate
- Move ToWalk to incident
- Face TargetLook at it
- WaitTake it in 2 s
- Record ObservationRemember, say it
- SequenceGuideMode Is Guide
- Guide To POILead, wait for the visitor
- Face TargetTurn to visitor
- AnnounceArrival
- SequenceFollowMode Is Follow
- Move ToKeep up
- WaitBeat 0.3 s
- SelectorIdleMode Is Idle
- SequenceTalkWhile speaking
- Face TargetFace visitor
- WaitListen 0.5 s
- WaitStand 1 s
- SequenceTalkWhile speaking
- SequenceInvestigateMode Is Investigate
Witness and report
- World events (a delivery, a power cut) are heard through walls and seen once they happen. AI Perception turns them into timed, first-person memories
- Memories are retrieved like handbook pages, and the newest are pinned, because "what was that?" shares no words with "I heard a knock"
file_dispatchis refused unless it cites a memory; the desk numbers it, saves it and posts it to a board in the level
Measured
Headless on a Ryzen 7 7700. Model latency isn't here: with no API key or local model available, model calls ran against the offline script and a local test server.
| What | Result |
|---|---|
| Hybrid search over 57 chunks, median | 0.044 ms |
| Router check, unknown place | 3.0 µs |
| NavMesh reachability check | 5–13 µs |
| HTTP and streaming client, per call | about 1 ms |
| Automation tests | 120 pass |
| End-to-end check, packaged build | 50 checks pass |
Built with Unreal Editor 5.8, Visual Studio 2022 and Claude Code. A greybox level and stock mannequins: the work is in the systems.
Solo project · 2026
Ashford Hollow
Recorded in engine on a listen server: the village's day, rain and dusk; blocks, parries and an unblockable slam; then a second player joins the party and chats. The captions are part of the game's own HUD.
A medieval top-down pixel-art RPG slice for two to four players over a listen or dedicated server, across five streamed zones: a village, a forest with a hidden glade, a ruined watchtower, Blackmere Marsh and the Old Abbey Crypt. The village keeps its own hours, and the fighting has a guard and a parry the server judges fairly under lag. Around it sit an item loop (gather, craft at stations, carry bombs and tools on the belt, forge permanent upgrades, trade with other players, all saved per player) and a social layer: parties and chat. The server decides every outcome; clients predict only what makes the game feel instant. Every gameplay system is C++, every map and behavior tree is generated by editor commandlets, and art came from a CC0 pack.
Enemy AI
- One
AAHEnemyAIControllerwith AI Perception (sight) and a behavior tree per enemy type, all sharing one Blackboard - Wolf pack: flank slots and per-target attack tokens, so only one wolf bites at a time
- Bandit archer: an EQS query picks a firing spot that is in range, in sight and reachable; kiting falls out of that
- Mini-boss: telegraphed slam and lane dash, with an observer abort that cuts the chase the moment an attack fits
- Two-phase boss: phases are data (health threshold, look, moveset, granted abilities). At half health the Hollow Abbot ignites, wakes the dead and gains Pyre Rain. One tree serves both phases: the new attack simply fails until it's granted
- Ambushers: kappas wait under the bog water and skeletons lie as bones, then surface as a pack when you come close
- Statuses the AI respects: any stun-type status (a stun, a kappa submerged, a boss transforming, a frost bomb freezing it solid) holds the brain still, with no AI code per status
- Smoke the AI can't see through: characters implement the engine's
IAISightTargetInterface, so perception itself can't see a player inside a smoke cloud. The tracking service drops them at once and a "?" pops over each enemy; landing a hit gives you away - Bait: a wolf lure sets a
LureLocationBlackboard key, and the wolf tree's Take Bait branch (an observer abort) walks to it and eats. A hit breaks it for good, so bait is a distraction, not a free kill - Kappas keep away from torchlight: the states an enemy shuns are data, read by its ambush check and its target tracking
- NavMesh pathing with Detour crowd avoidance, so packs flow around each other; burning ground is a NavMesh obstacle they path around
BT_Wolf, as built
The trees and EQS queries are generated by a C++ commandlet as real editor graphs, so they open and edit like hand-made ones. This is the wolf's: a stun holds it, bait outranks a player, then the hunt.
- SelectorWolfTrack Target
- WaitReelIncapacitated
- SequenceTake BaitSmells Bait
- Move ToGo to the bait
- WaitEat 1 s
- SequenceHuntneeds a target
- SelectorBite or Circle
- SequenceBiteCooldown 1.4 sAttack Token ×1
- Move ToLungeTime Limit 1.5 s
- Use AbilityMelee combo (GAS)
- WaitBack off 0.4 s
- Circle TargetHold a flank slot
- WaitFallback 0.2 s
- SequenceBiteCooldown 1.4 sAttack Token ×1
- SelectorBite or Circle
- SequenceReturn Home
- Move ToHome location
- WaitIdle 1 s
Custom behavior tree nodes
BTService_AHTrackTarget: writes perception results to the Blackboard (target, distance, line of sight), and drops a target hidden by smoke or one this enemy shunsBTTask_AHUseAbility: lets the tree fire Gameplay AbilitiesBTTask_AHCircleTarget,BTDecorator_AHAttackToken,BTDecorator_AHTargetInRangewith observer aborts
NPCs and quests
- Three quest givers with an interaction prompt, typewriter dialog and per-player quest markers
- Data-driven quests, a quest log per player and shared credit for the party; objectives count kills and world events (vents sealed, braziers lit, things crafted), and rewards can teach recipes
Lag compensation, measured
The server rewinds melee targets by the attacker's round trip. A scripted client swung at three circling wolves for 25 s; a ghost hit is a spark the client showed that the server then rejected.
| Round trip | Rewind | Hits shown | Ghost hits |
|---|---|---|---|
| 200 ms | off | 61 | 7 (11%) |
| 200 ms | on | 58 | 0 |
| 300 ms | off | 60 | 18 (30%) |
| 300 ms | on | 58 | 1 (2%) |
Prediction, measured
Server corrections of a player's predicted movement, 100 ms each way, scripted runs.
| Change | Before | After |
|---|---|---|
| Soft collision: players walk through enemies, the server moves enemies aside (25 s wolf fight) | 534 | 121 |
| Bog water slows you, predicted from where you stand | 184 | 0 |
| Rallied walking speed, a per-move flag the server checks | 49 | 0 |
What's left in the fight is knockback, which a client can't predict. A dedicated server with every zone loaded spends about 1.5 ms a tick; a two-player boss fight costs 4.5 to 7.8 KB/s per client.
A trade between two clients on a dedicated server. The other player has just changed their offer, so both locks cleared and the message says so: you can only ever confirm the deal on your screen.
Items, crafting and trading
- A 20-slot bag and a belt the owning client predicts with the server's own rules: numbered requests, answered in the same update as the bag. Using an item is a Gameplay Ability whose cost is the item
- Gathering nodes are per player. When one empties, its regrow time replicates once as a server timestamp, so nothing is sent when it grows back
- Crafting is a predicted ability whose inputs are its cost, and it finishes on the server's clock. Letting the client's earlier finish through had quietly refunded every client's craft: the scripted network tests caught it
- Bombs and tools are items. One data-driven ground field covers fire, frost (stand on it and you freeze), smoke, oil and caltrops, and fire turns oil into a blaze
- Forge upgrades are owned per player, saved, and applied as one gameplay effect holding the totals
- Trading: nothing leaves a bag until both players confirm the same revision of both offers, then one server function re-checks counts and bag room and swaps everything. The session replicates only to its two players
Two players throwing bombs and crafting on a dedicated server: 1.5 to 1.8 ms of server game thread a tick, 2 to 4 KB/s per client. A replay of it shows every burst, field and status from replicated state alone.
Dusk in Ashford: Old Tobin has walked the street lighting each lamp by hand, and the villagers head home talking. Every client derives the same lines from the same replicated state.
Villagers with daily routines
- Six villagers on the same AI Controller stack as the enemies: AI Perception (sight, and hearing for combat noise) and a behavior tree,
BT_Villager - One service,
BTService_AHVillagerSchedule, turns fright, rain and the hour into where to be: the forge, the stall, the field or the inn, a doorway when it rains, home when a fight breaks out nearby - A schedule is data: blocks of hours, each with a spot, a work animation and lines to say
- The lamplighter walks the street at dusk and lights each lamp by hand; each lamp is one replicated bool
- One replicated struct per villager: what they're doing and the server time they started. Every client derives the work beats, lines and chatter from it, with a hash that's the same on every machine, so two players hear the smith say the same thing. 0.004 ms a frame for the presentation, 0.005 ms for the AI
A world that reacts
- Wildlife as data on placed spawners: hens, sparrows, boar, a racoon, owls, frogs, fish, bats and rats, simulated on each client with no actor per animal and nothing replicated. They flee anyone that client can see and the noise of a fight; fish leap on a server-time hash, so every client sees the same leap
- Grass parts around every character through one render-target interaction buffer the plant material reads per vertex: no cost per plant
- Footsteps from each walk cycle's contact frames, with the surface read from the ground's physical material; rain wets the ground and fills puddles; lanterns, signs, banners and flags swing in the replicated wind
A parry: the wolf reels, the knight's next hit does double. The defender's own screen shows it the moment the bite lands; the server confirms it.
Guard and parry, judged by what the defender saw
- Hold guard: a buckler comes up, you walk slower and stamina drains. A hit inside the guard's 220° arc does a fifth of its damage and costs stamina; run out and the guard breaks
- Guard within 0.2 s of a bite and it's a parry: no damage, the attacker staggers, and your next hit within 1.5 s does double. Mashing the button gets blocks, not parries
- Some boss attacks are unblockable, drawn violet and hatched so they don't rely on colour alone
- The netcode: a press reaches the server after the bite it answered has already landed there. So the press carries the server time the player was looking at; the server bounds that claim by the player's measured lag, holds hits on them that long (0.15 s at most) and judges the guard as it was at the hit. The parry's look is predicted on the defender's screen, so the big moment is never late
- Measuring it found an engine detail: a client's estimate of the server clock trails it by the one-way trip. Adding the trip back took blocks at 100 ms each way from 1 in 20 to 19 in 20
A bot pressing guard 30 ms before each wolf bite showed on its screen (a last-moment human reaction), dedicated server, 100 ms each way.
| Server hold | Bites | Parried |
|---|---|---|
| off | 22 | 0 |
| on | 37 | 34 |
The client predicted 36 parries and the server confirmed 34; for the other two its verdict played a beat later.
Zone chat (a bubble everyone nearby sees) and party chat (blue, members only). Bubbles stack and never cover a name.
Parties and chat
- Parties of up to four: invite the player you face, answer within 30 s, leave, remove, hand over the lead. A party window, frames and map markers for your party, an arrow at the screen's edge for a member out of view, nameplates with level in the party colour
- A party replicates to its members only: with three players and two in a party, the outsider's machine holds no party actor at all. Your party and your invite are owner-only on your PlayerState
- Every request is checked and rate-limited by the server. A repeat invite isn't sent again and a decline blocks repeats for 20 s, so nobody can pester a player
- XP, quest progress and a personal loot roll go to everyone who fought and their party members near the kill
- Chat on zone, party and whisper, with slash commands. The server rate-limits every line, checks its length, strips control and invisible characters (text-direction overrides included), refuses repeats and filters whole words through letter swaps, then routes it by its own idea of who's in the zone or the party
- A zone line's bubble is replicated state on the speaker's pawn, so it reaches exactly the players who can see them, someone walking up mid-sentence sees the rest, and replays show it. Party bubbles are drawn by each member's own client
Dedicated server, three clients at 100 ms each way: zone lines reached 3 players, party lines 2, a whisper 1. Of 8 spammed lines, 4 got through. With one player in the ruins, each zone heard only its own.
Built with Unreal Editor 5.8, Visual Studio 2022 and Claude Code. Art and audio from the Ninja Adventure pack (CC0).
Across my projects
Game UI
Ashford Hollow, client (left) and host (right). Talking to Brother Aldric: his dialog types out, "Quest accepted" appears and the tracker lists the new objectives. On the right, locked ability slots show the level they open at.
Field Correspondent
- A chat panel that streams the reply as it arrives, shows each action and refusal in line, and tags every source the NPC cites
- A line under each reply with the time to the first word, the total time, sources cited, model calls and actions
- An F3 overlay: the model provider, the behavior tree node it's in, its memories, and the search scores behind each answer
- Dispatches as newsprint cards that list their sources, and a board in the level that updates when one is filed
Third-person action RPG
- A skill tree in three branches with locked tiers, and level-up notifications
- In UE 5.8, a Dark Souls-style HUD built in C++: bars whose damage trail lags and then drains, a boss bar with the flurry total, and bars over hurt enemies the player can see
- Inventory and crafting menus in Cinzel and EB Garamond, and a "YOU DIED" band
- The skill tree restyled to match at runtime, without editing its Widget Blueprints
Each project here has its own interface, built together with the systems it shows. In the multiplayer RPG the UI only draws what the replicated game state says, so each player sees their own quests, map and bag on their own screen. In the NPC project it shows what the AI is doing and why.
Ashford Hollow
- HUD: party frames with level and health, an XP bar, a boss bar that names the phase, and an ability bar whose locked slots show the level they open at
- Quests: a Talk prompt, dialog with a portrait and typewriter text, a "Quest accepted" banner, per-player markers, and a tracker that ticks objectives off
- Levelling: XP and gold pop-ups, a "Level 2, learned Shield Bash" banner, and the new ability lighting up on the bar with its cooldown
- Finding your way: a title for each zone, a minimap, and a world map painted from the generated world under each player's own fog of war
- Windows: the bag and belt, the forge's crafting window with progress and locked recipes, and a trade window that clears both players' confirmations whenever either offer changes
- Social: a party window, party frames edged in the party colour, an arrow at the screen's edge for a party member out of view, and a chat box (Enter to type) with a colour per channel and speech bubbles that lift above names instead of covering them
- Feedback: status icons drawn from replicated gameplay tags, and damage numbers that wait for the server to confirm the hit
- The UI style is a data asset, like the rest of the game's content
Studio work · Moshpit Studios
Moshpit virtual concert
Party rooms, the stadium crowd, Force Shot and Super Jump, and the in-game browser sending a video to the stage screens.
A multiplayer virtual concert. Players create or join a party room, then move through a stadium crowd of NPCs while video plays on the stage screens.
My part
- NPC behavior with AI Controllers and behavior trees
- Technical animation for the crowd and player characters
- Testing the NPCs against the player powers
In the build
- A dancing crowd that fills the floor and the stands
- Player powers on cooldowns: Dash, Super Jump, Super Sprint and Force Shot, which knocks crowd NPCs into ragdoll
- Party rooms you create, name and join
- An in-game browser that puts a chosen video on the stage screens
UE5 · carried forward in UE 5.8 · 2026
Third-person action RPG
Bamboo shrine and neon city levels: combat, elemental abilities and the skill tree.
A third-person action game across two levels, a bamboo shrine and a neon city. Melee combat with elemental abilities, enemies that hunt the player, and progression through XP and a skill tree.
- Melee combat with ice, fire and energy-slash abilities, each with its own screen effect
- Enemy AI that tracks the player and attacks in groups
- XP, levelling and skill points, with level-up notifications
- A skill tree in three branches (Combat, Mobility, Attribute) with locked tiers and unlockable moves such as Roll and Special Attack
In UE 5.8: the axe, a Healing Draught crafted at the campfire, the restyled skill tree, the gate key and the Stone Golem. A scripted run: walking and the camera are scripted, the swings are real clicks, and each hit adds bonus damage to keep it short.
Carried forward: a soulslike slice in UE 5.8
In 2026 I took the game's combat into UE 5.8 and built a short soulslike slice around it. A Shadow Knight takes up an axe, gathers and crafts, finds a gate key and fights the Stone Golem, Warden of the Keep. The existing combat stays in Blueprint. Everything new is C++ that reaches it through reflection, so no existing Blueprint was rewritten.
The knight and the axe
- A new player character on the existing combat, retargeted at runtime: a hidden mannequin still runs the animations, hit boxes and combat logic, and the visible knight copies its pose every frame through an IK Retargeter. The combat runs unchanged on a different skeleton
- Light attacks chain into the three-swing combo on the axe, and lock-on holds the camera on the boss
- The axe is a new row in the weapon data table: the sword's moves, combos and sockets with the axe's mesh. The setup checks that the other weapons' rows come through untouched
- Lock-on first found nothing on the boss: it picks targets by actor tag, and the level setup had replaced the boss's tags. The setup now keeps the class tags
Two hits in a row: the Golem's bar shows the flurry total (300) and a gold trail that drains after a moment; the knight's bar trails the hit it just took.
The boss fight
- The Stone Golem, Warden of the Keep: an armored stone golem on the same runtime retarget, driven by the game's boss AI, with 1,000 health and leap attacks that cross the arena
- A souls-style boss bar: the name, a long bar whose damage trail lags and then drains, and the total of the current flurry of hits
- The bar starts when you come within 15 m or land a hit, and hides past 30 m. The original boss trigger had fired as the level started, because the Golem stands inside it, so the bar no longer relies on it
- Loot on death: an Ember Heart that permanently raises max health, and a Greater Draught
- Death ends in "YOU DIED" in blood-red capitals on a dark band, then the level restarts
Small bars over hurt enemies in view, anchored to the head bone. An enemy behind a wall gets none.
Enemies and loot
- A loot layer on the game's enemy AI: a weighted loot table per enemy, rolled when its health component reports death, bound to that event through reflection
- Loot waits for the final death, since enemies get back up once
- A key carrier whose table guarantees the Gate Key, so the gate can only open after that fight
- Health bars over hurt enemies, only when the player can see them: line traces from the camera that skip the invisible collision under the art
- For now the path enemies are out of the build. They were the engine's stock mannequins, so the video has the Golem alone and the key lies on the path. One setup step puts them back
The inventory: category tabs, item tiles, and a details pane with the item's actions. The draught is already in the quick slot.
Items, crafting and the gate
- Items are data: one Data Asset each, with stacking, categories and use effects. The Healing Draught's effect calls the health component's Heal through reflection
- A soulslike quick slot: drink with T, switch item with G
- Crafting at stations: recipes as Data Assets, a campfire and an anvil, and a craft takes nothing unless it can finish
- Interaction picks the closest thing in front of you and prompts for it. The locked gate checks for the Gate Key and swings away from whoever opens it
- Menus work with keyboard and mouse; gamepad buttons are mapped too
The skill tree, restyled at runtime to match the new UI. Its Widget Blueprints are untouched.
Skill tree and UI
- A Dark Souls-style UI built in C++: Cinzel and EB Garamond, near-black panels with thin gold edges, health and stamina bars whose damage trail lags and then drains, a quick slot, prompts and pickup toasts
- The game's original bars and boss widget are hidden at runtime and replaced, without editing them
- The skill tree (Combat, Mobility, Attribute) gets the same look at runtime. Colours the game resets when a skill unlocks are mapped again every frame, and the HUD steps aside while it's open
Assets, Blueprint changes and the level come from Python editor scripts, run in stages. Ten automation tests cover the inventory, crafting, the gate and the hooks into the game's Blueprints. Scripted runs play the game to screenshot every screen and to film the reel.
The UE 5.8 slice was built with Unreal Editor 5.8, Visual Studio 2022 and Claude Code. The knight, the Golem and the ruins are Fab assets.
Also · Zeritress
Twelve Fortnite islands in UEFN
As Zeritress I have shipped twelve islands with six creator partners since 2023, with 855 million minutes played and an all-time peak of 44,962 concurrent players. The flagship, PlayStation vs Xbox, alone has 552 million minutes.
- Verse systems: persistent economies and save state, shops and item granting, per-player state tested at 50 players
- Progression, prestige and ranked layers, plus NPC customer AI in tycoon islands
- Live-ops with about two updates a week on flagship islands
Epic plans to merge UEFN and Unreal Engine 5 into Unreal Engine 6, with Verse at its core, so this work carries forward.
See the full UEFN portfolio