Intrusion

A first-person multiplayer horror game in Unity. Kids defend a house against an intruder.

category
@ game
status
archived
active
2023-05 → 2024-01 · 181 commits
made
■ hand · all commits before I used agents
stack
unity · c# · netcode for gameobjects
timeline

What it is

A first-person multiplayer horror game in Unity. One side plays the kids, who defend a house. The other side plays the intruder. The inspiration was Dead by Daylight, Rainbow Six Siege and Home Alone.

I worked on it from May 2023 to January 2024: 181 commits and about 16,600 lines of C#. The repo is private.

How it works

  • Networking. Netcode for GameObjects, with Unity Relay and Lobby. Players do not need to open ports.
  • Health. Health is a network variable on each player, so all clients see the same value.
  • Weapons. Each weapon is an item with a primary and a secondary action. Cooldown weapons and ammunition weapons share one base class. The weapons include a baseball bat, a crowbar, a knife and revolvers.
  • Inventory. An inventory manager adds, removes and equips items for each player.

I drew the design of these systems before I wrote them:

Diagram of the health, weapon and inventory systems
fig. 01 · health, weapon and inventory systems · 2023
Diagram of the multiplayer system
fig. 02 · the multiplayer system · 2023

Status

The README says that the graphics and the polish were not done. The last commit is from 2024-01-03.