GAME DEV ยท JUL 2026

Hollow Maze: A Cooperative Escape

Two-player online co-op escape room in first person. Players wake up locked in facing cells and must cooperate through three chained puzzles of light, mirrors and a rotating room to escape.

  • Unreal Engine 5
  • C++
  • Multiplayer
  • Co-op
  • Puzzle
  • Enhanced Input
Hollow Maze: A Cooperative Escape screenshot

At a glance

ROLE
Player character, multiplayer and interaction systems (C++)
TEAM
Group of 4
CONTEXT
Game Programming final project, Forsbergs Skola

What I built

  • First-person character and camera in C++ with Enhanced Input.
  • Online co-op sessions (Create, Find, Join) built in Blueprint on OnlineSubsystemNull, tested on the same network and across networks over a VPN.
  • Diagnosed the connection problems found in testing: a Windows network profile that blocked session discovery, a host firewall rule for UDP 7777, and session addresses that other networks cannot reach (solved with a direct join over the VPN).
  • Replication of the character, a 9-slot inventory and equip/drop through Server and Multicast RPCs.
  • Interaction trace routed through the server, used by every interactable actor in the game.

Technical decision

Routing interaction through the server

Actors placed in the level, like pickups and doors, have no owning connection, so a client cannot call a Server RPC on them. My first attempt failed with "No owning connection". I moved the RPC to the player character, which the client does own, and pass the targeted actor as a parameter. The server then checks again that the interactable is enabled, so the client only asks and the server decides.

HollowMazeCharacter.cpp
void AHollowMazeCharacter::Interact()
{
    if (FocusedInteractable && FocusedInteractable->bIsEnabled)
    {
        Server_Interact(FocusedInteractable->GetOwner());
    }
}

void AHollowMazeCharacter::Server_Interact_Implementation(AActor* HitActor)
{
    if (!HitActor) return;
    UInteractableComponent* Interactable = HitActor->FindComponentByClass<UInteractableComponent>();
    if (Interactable && Interactable->bIsEnabled)
    {
        Interactable->Interact(this);
    }
}
Private group repo, source available on request.