Nick Li

Nick Li

Gameplay & Systems Engineer · Co-Founder, BlueHeaven Games

USC M.S. Computer Science — Game Development

Primary project

B.L.U.E.

Unreal Engine 5 C++

Physics-based multiplayer spaceship combat.

Gameplay & Systems Engineer · Co-Founder, BlueHeaven Games

B.L.U.E. began as a USC Games project and is now continuing development under BlueHeaven Games, a studio I co-founded in 2026.

Steam page Website

What I built

Ship, PPG graph, replicated graph, other client Ship PPG graph full layout Replicated graph Other client

Diagram. A shot of the real graph can replace this.

Ship layout online

Every ship is a different layout, and multiplayer has to replicate that whole layout. PPG stores it as vertices and edges. A vertex is a part type and that part’s transform in ship space, relative to the root. An edge is the two ports that join them. Those arrays replicate with the graph. A client builds the physics ship only after the part instances and the joint constraints have arrived.

Brain, intent, executors, sense move and fire Brain Intent Executors Sense, move, fire

The pilot is in the game.

Ship AI system

An unpossessed ship with a command module runs a swappable brain. The brain only writes an intent: named operations such as ships in range, move, face, aim, and fire. It does not scan, fly, or shoot. Executors on that ship perform the operations it can do and drop the rest. A sense result keeps each contact’s location, velocity, and whether a visibility trace was blocked. Movement hands the ship’s navigation core a waypoint or a facing order. The ship runs on GAS for build mode and camera state.

Server session, spawn ships, brain order, objectives Server session Spawn ships Brain order Objectives

This session is not in the game yet.

Missions, in progress

The mission framework is the server session around those ships. It loads a map, spawns the graphs, and gives each brain an order. It advances objectives from facts the simulation already committed, and it does not choose how a ship senses, moves, or fires. Mission actions use GAS.

Ship weapons, weapon system, active group, fire or stop Ship weapons Weapon system Active group Fire / stop

Diagram of how a built ship is fired.

Weapon system

A ship can mount any set of weapons. The manager finds the weapon components on the current graph and sorts them into groups. Fire and stop talk only to the active group, and fire and reload are Gameplay Ability System (GAS) abilities. A shot spends ship energy. A lockout or a shortfall refuses it. Build mode, hyperspace, and command-module death each disable weapons. Those reasons are ordered, so a stronger one replaces a weaker one, and a later weaker one does not turn the weapon back on.

Player input, desired force and torque, solver, thruster outputs Player input Desired force and torque Solver NLopt Each thruster output

Diagram of the isolated solver.

Propulsion solver

The pilot asks for a direction and a rotation. Each engine is a position relative to the center of mass, a thrust axis, and a maximum thrust. Main thrusters only push along that axis. RCS thrusters take the leftover torque, plus the requested rotation. The rest of the ship asks for force and torque and receives a 0–1 throttle per engine. The allocation is a registered solver, so the numeric work stays in this module: NLopt over the force columns and the moment arms.

Lead aim: the missile steers toward a predicted point ahead of the target Target path Now Lead point Missile Aims ahead Aims where the target is now

Diagram of the lead aim. Guidance writes a direction toward that point. It does not place the missile on the curve.

Missile guidance and navigation system

Guidance writes a desired direction. It does not set the missile’s position. Prediction refines a lead point: distance over the missile’s speed gives a time, the target’s velocity moves the aim point, and that repeats for a few passes. A missile that is still too slow aims at where the target is now. Steering is a separate method. One burns along the strongest thrust axis while turning. Another turns onto the point, burns, then brakes from v² / 2a, with one correction if that stop falls short. Swapping a method does not change the prediction.

Tutorial sequence data asset in the Unreal editor A tutorial step in the level telling the player how to move up and down

Data-driven tutorial tool

Designers author the tutorial as a data asset: an ordered list of steps. A step finishes on a rule they pick: an input action, reaching an actor or a tagged trigger, or destroying every target on that step. A step can swap the input mapping while it is active, and it can be marked to run only once. A world subsystem walks the list, so changing the sequence does not mean changing code.

Designer-facing systems

Tools I built

The editor is the left image. The image on the right is the game that data drives.

Unity inspector showing attack move data and a weapon combo graph
Editor · weapon graph and move data
A committed attack with the hitbox drawn in front of the character The same attack from above, with the hitbox overlapping the target
In game

Top-Down Commitment-Based Action Framework

Unity
  • Unity 6
  • Data-driven
  • Editor tools

Each weapon is a data asset: a light entry, a heavy entry, and combo edges. An edge is the current move, an intent, and the next move. The graph editor writes those edges. In play, the weapon walks that list to find what comes next.

A move is timed in seconds. It spends its resource cost when it starts. Until it ends, movement and turning stay scaled down by the move. The hit query runs only between an active start and an active end. A combo window is the only time a buffered light or heavy can chain, and heavy is tried first. Dodge cancel is a separate window. A press that arrives early waits in a buffer, 0.2 seconds by default, until a window consumes it. If the next move costs more than the player has, the chain is refused and the current swing continues. Invulnerability is data on the dodge, a start time and an end time. The action tick uses a combat clock on unscaled time.

See repository
Dialogue graph editor with a minimap and connected dialogue nodes
Editor · dialogue graph
Dialogue choices a, b, and c shown in the game
In game

VC Dialogue System

Unity
  • Unity 2022
  • Editor tools

A conversation is a graph asset: nodes, edges, and a start guid. A node is one line and a list of choices. Each choice has its own output, and the default output is the continue path. The editor badges the start node. It badges an end wherever a node has an incoming wire and nothing going out. Save writes the nodes, the edges, and each choice's target.

The runner looks up nodes by guid. It shows the current line. If the node has choices, the UI calls Choose with an index and the runner follows that choice's target. Otherwise the UI calls Continue, and the runner follows the first outgoing edge. When the next node is missing, the line ends. A condition string can be stored on a choice. The runner does not evaluate it yet.

See repository

Games and studies

Other work

The dark real world in The Witch in Shadow The spirit world in The Witch in Shadow

The Witch in Shadow

Unity

A 2D platformer in Unity, made with a team of 15, about a witch moving between the real world and a spirit world with her pet.

Learn more
A fight in The Boxing Game

The Boxing Game

Unity

A 1v1 multiplayer boxing game for a team of two. Straight, charged hook, block, and parry, or answer a question and be the last one standing.

See trailer
Wall-running in the Unreal shooting game

Unreal Shooting Game

Unreal Engine

A multiplayer shooter in progress. Customize a weapon, then wall-run, double jump, and dash while you take arenas with a team.

Seagull Express gameplay

Seagull Express

Unity Android

A top-down Unity game for Android, made with a team of four, about a seagull delivering packages past obstacles and enemies.

Learn more
A textured model rendered with the PBR shader The same model rendered as shiny metal

PBR Rendering

C++ OpenGL

A PBR renderer in C++ and OpenGL. Load a model and its textures, then shade it at runtime.

Learn more
A scene from the fragment-shader ray tracer

Ray Tracer

C++ OpenGL

A ray tracer in C++ and a fragment shader, made with a team of three. Shapes, shadows, several lights, reflections, and a spatial structure for speed.

Learn more
Havoc game artwork

Havoc

GameMaker

A 2D dungeon game in GameMaker, made by two people in two weeks, on a small framework meant to be extended.

Learn more
An apartment modeled in Maya and rendered in Arnold BT-7274 from Titanfall 2, modeled in Maya

3D Modeling

Maya

Two models made in Maya and rendered in Arnold: my apartment, and BT-7274 from Titanfall 2. About three weeks each.

Learn more