Return to timeline
Archive fileENTRY 004

Purging Soul

A Game Boy-style top-down RPG about guilt and redemption, where each of the Seven Deadly Sins is a room to face. A solo vertical slice in Unity covering the fall into the Pit of Despair, the Reception and the Trial of Greed.

Purging Soul's Reception in green Game Boy-style pixel art. The Receptionist sits at her desk in a tiled hall walled with twisting tentacles.

Overview

Purging Soul is a top-down RPG in a Game Boy style about guilt, regret and redemption. After an emotional moment at home, the protagonist falls into a literal Pit of Despair. There, a coldly professional demon Receptionist enrols him in the “Purging Soul Program”, and his soul splits into seven fragments, one for each deadly sin. Behind seven doors are the trials he has to face to piece himself back together.

I made it on my own over eleven weeks for a university module, on the Spatial Storytelling track: telling a story through space and movement rather than dialogue alone. The full game would have all seven sins. This vertical slice covers the opening at home, the fall, the Reception, the Trial of Greed and the Receptionist’s final judgement.

YouTube videoOpen in new tab (opens in a new tab) ↗

The Trial of Greed

Greed is tall and unnervingly thin, with a fixed grin, a gold monocle, a filigreed top hat and a coat sewn with clinking coins. His trial starts with a simple deal: do a task and earn a shard of virtue. Once the task is done, the deal changes, and the shard has to be bought at a ridiculous price.

The trial is designed around temptation:

  • Two ways to earn. Coins come slowly from honest tasks, or quickly by stealing from innocent souls, who lose their homes and livelihoods as a result.
  • A prize you can’t afford honestly. A Golden Crown sits locked away, priced far above the shard. Buying both means stealing.
  • Kindness that pays nothing. Poor souls ask for help along the way. Giving to them earns nothing except a lower Greed Score.
  • The fine print. Players who explore carefully can find a clause buried in Greed’s fast-scrolling contract that hands him the Crown. The shard was only ever the lure.

When the trial ends, the Receptionist weighs up how greedy you were and delivers her verdict.

Telling the story with space

Each room is meant to be a moral dilemma you walk through, not just a backdrop. In the full game, players choose the order they face the sins in, and each sin’s room gets its own colour: purple for Pride, gold for Greed, red for Wrath, pink for Lust, green for Envy, a sickly green for Gluttony and blue for Sloth.

I planned the slice in my notebook first, then redrew it as a labelled map in LibreSprite to work out room transitions and where each character stands. Void Stranger’s tight, heavy little rooms and Undertale’s isolated character placements were big influences.

The finished rooms run in story order: home with the protagonist’s wife, the pit, the Reception, then Greed’s trial.

Pixel art

I drew over 200 sprites by hand in Aseprite, in a four-colour Game Boy palette. Here’s the complete sheet:

The complete Purging Soul sprite sheet: floor and wall tiles, tentacle walls, grass, props, signs, doors, windows and the characters, including Greed in his top hat

  • Tilesets use 16×16 tiles. A complete set took 48 separate tiles so that every edge and corner joins up. Random variations, such as flowers and alternate grass, break up the repetition.
  • Walk cycles use three frames for each direction (stand, one foot forward, stand, the other foot forward), lined up using onion skinning.
  • Help and stock assets: my brother drew first versions of a couple of props, a computer and a stool, which I reworked to fit the style. The character portraits started from templates that I edited, and the music and sound effects came from royalty-free packs.

Building it

  • A camera that follows, then catches up. Cinemachine follows the player with a little inertia, so when you stop, it takes a moment to re-centre. Each area has its own boundary and its own virtual camera. A trigger switches that camera on when the player walks in and off when they leave, and Cinemachine blends smoothly between them.
  • Keeping pixels crisp. At first the camera didn’t move in whole pixels, so the art jittered during transitions. Adding Pixel Perfect Camera to the main camera and the Cinemachine cameras locked everything to the pixel grid.
  • Movement and input. The player moves in eight directions on a Rigidbody2D with gravity turned off, and stops while a conversation is open. Unity’s Input System means keyboard and controller both work: arrow keys or stick to move, E or A to interact.
  • Animation. Blend trees pick the walk animation from the direction of movement, and the player keeps facing the last direction they moved when they stop.
  • Talking and interacting. Anything you can interact with implements one small interface. Walking into range shows a “!” icon and plays a sound, and pressing interact triggers it.
  • Dialogue as data. Each character’s conversation is a ScriptableObject holding their name, portrait, lines, typing speed and voice. Lines type out a letter at a time, with a voice blip at that character’s own pitch. Some lines advance on their own or end the conversation, and choices jump to different lines. The game pauses while you talk.
  • Sound effects. Sounds are grouped by name in a small library. Each play picks a random clip from its group, sometimes at a slightly random pitch, so repeats don’t sound mechanical. A slider sets the volume.
  • Rooms from Tilemaps. Each room is painted with Tilemaps in separate layers for floors, paths, walls and props, and teleporters move the player between areas.
  • A morality score. A Greed Score tracks your choices through the trial and decides what the Receptionist says at the end.

A look at the code

Anything the player can interact with, such as an NPC, implements the same two-method interface:

public interface IInteractable
{
    void Interact();
    bool CanInteract();
}

The player carries a trigger that remembers whichever interactable it’s touching, shows the “!” icon, and calls it when the interact button is pressed. It never needs to know what kind of thing it’s talking to:

public void OnInteract(InputAction.CallbackContext context)
{
    if (context.performed)
    {
        interactableInRange?.Interact();
        Debug.Log("Interacted");
        interactableIcon.SetActive(false);
    }
}

private void OnTriggerEnter2D(Collider2D collision)
{
    if (collision.TryGetComponent(out IInteractable interactable) && interactable.CanInteract())
    {
        interactableInRange = interactable;
        interactableIcon.SetActive(true);

        Debug.Log("Active");
        SoundEffectManager.Play("Interaction", true);
    }
}

Dialogue types out one letter at a time, playing the character’s voice at their pitch for each letter. Lines marked to auto-advance move on by themselves after a short delay:

IEnumerator Typeline()
{
    isTyping = true;
    dialogueUI.SetDialogueText("");

    foreach (char letter in dialogueData.dialogueLines[dialogueIndex])
    {
        dialogueUI.SetDialogueText(dialogueUI.dialogueText.text += letter);
        SoundEffectManager.PlayVoice(dialogueData.voiceSoud, dialogueData.voicePitch);
        yield return new WaitForSeconds(dialogueData.typingSpeed);
    }

    isTyping = false;

    if (dialogueData.autoProgessLines.Length > dialogueIndex && dialogueData.autoProgessLines[dialogueIndex])
    {
        yield return new WaitForSeconds(dialogueData.autoProgressDelay);
        NextLine();
    }
}

Looking back

The biggest lesson: ambition is great, but planning and pacing are everything. Time was by far the hardest part. Drawing over 200 sprites while learning Cinemachine, the Input System and the Animator from scratch wrecked my schedule.

Something had to give. The Sin Score Room, a separate end room that would show how greedy you’d been, became the Receptionist’s verdict instead. That kept the moment of reflection but simplified the flow. I also had to drop polished dialogue writing, a round of peer feedback and visual-effects polish. The feedback I did get said the dialogue felt rushed and the portraits needed more clarity, and I didn’t have time to fix it all.

It’s a strong vertical slice, not a finished game. Next, I’d like to:

  • add the other six sins and tie each one into the protagonist’s backstory
  • grow the morality system so it changes the world and the story, not just a score
  • write the dialogue properly, with a tool like Ink or Yarn Spinner
  • get help with music and sound
  • improve accessibility and polish: better fonts, clearer menus and smoother controller support
  • make sure the player doesn’t just see the message, but feels it

Some parts were brutal, like debugging camera glitches and rebuilding animations that didn’t line up. But it taught me how every part of a game has to work together, and I’m proud I made something weird, emotional and very me.

Download

Download Purging Soul for Windows

This is the vertical slice for 64-bit Windows. Unzip the folder and run Purging Soul.exe. The game isn’t signed, so Windows may warn you before it opens: choose More info, then Run anyway. Use the arrow keys or a controller stick to move, and E or A to interact.

System

Display settings

Display mode

Clean mode removes the casing and CRT effects.

Display colour

Scanlines, glow, grain and vignette. 0 switches them off.