top of page

Project: Ghost (In Progress)

Main Features (Work on progress)

  • Hacking framework: lets the player hack objects, trigger one-off interactions and take control of possessable pawns.

  • Hack slots: a limited resource the player manages, choosing which hacks to keep active and which to release.

  • Interaction system: lets the player use doors, light switches and any object with the interaction component.

  • AI framework: the main threat, with enemies that patrol, investigate suspicious activity and hunt the player.

Project overview

A third-person stealth puzzle game with no combat, where hacking is the player’s only tool and the environment is their toolbox. The player manipulates, lures and hacks objects around the level to take out enemies or sneak past them.
 

The player can hack individual one-off objects, take control of things like cameras, and send out a small player-controlled drone to get into tight spaces the player can’t enter and hack from inside them.
 

I’m building it solo in Unreal Engine 5 over a 1 month time-frame, to showcase modular, data-driven systems along with my game design and technical design skills.
 

This project is still in progress.

Hacking framework breakdown

In the pre-production design stage of this framework, I experimented with different design patterns and quickly narrowed the choice to two: inheritance or components. Below are my findings and final decision.

Inheritence design pattern

My first implementation used inheritance alone, with one hackable class as the parent and children built from it. This worked at first, but I quickly realised it didn’t scale. Every hackable object had to inherit from the parent, and the parent grew with each new feature and child I added.

InheritanceDesign

This approach was rigid. Although inheritance is a good tool, it forced all of the core hacking logic to live inside the parent class. Any object that needed a different base class couldn’t use that logic without me copying it, so there was no way to step away from the parent.


Inheritance still has benefits I wanted to keep. Hackable objects can inherit shared functionality, such as displaying the interaction menu, and the parent class can set up each new hackable object automatically, so a designer doesn’t have to do it by hand for every new child.


The next step was to test the alternative: a component-only approach.

Component design pattern

My second approach was to use the component design pattern for the hacking logic, moving all of the core hacking logic out of the parent class and into a component. This made the system far more modular: any actor can now be made hackable just by adding the component. Each actor binds to the component’s OnHacked delegate and implements its own outcome.

hackable_component_only_class_diagram.png

Core hacking logic lives in a UHackableComponent, separate from individual prop behaviour, so cameras, switches, moving platforms, fuse boxes, locks and security gates are all built on the same system.
 

The component is the first rule pass: it checks whether a hack can be performed and holds the settings for that object, which a designer can fine-tune per Blueprint and per instance in the level. When a hack succeeds, it broadcasts the OnHacked delegate, and the actor binds to it and handles the outcome. Each hackable actor is self-contained.
 

To make something hackable, an actor just needs the component. A designer creates a Blueprint, adds the component and does some manual setup, such as implementing the required getters, and the object is hackable.

Final verdict

With both patterns tested, I concluded that the best approach was not to choose one or the other, but to use them together.
 

The parent class holds default shared logic and common features for all children, and the core hacking logic stays in a UHackableComponent, so the system stays decoupled and scalable.
 

To make something hackable, a designer creates a child of AHackableObject, which comes with the component attached and the common setup already done in the parent. That removes the manual setup for every object that inherits from it. An actor that can’t inherit from that class can still be made hackable by adding the component directly and doing the setup the parent would otherwise cover.

Example of hacking framework and creating new devices

© 2026 Piotr Golebiewski. All rights reserved.

bottom of page