Skip to content
EzzElDin Salah — home
← Games
Games

Seth's Wrath

Third-person action combat with real timing windows, per-target hit registration, and a four-attack boss driven by Unity Behavior Graph.

  • C#
  • Combat Systems
  • Game AI
  • NavMesh
  • Unity
Play in your browser

Keyboard and mouse · 55 MB download

  • A wide view over a desert oasis at dusk: palm trees, broken obelisks and two wooden shacks on rippled sand in the foreground, a pool beyond them, and a white Egyptian temple with seated statues at its gate under a dark red sky.
    The arena, seen from the camera that sweeps over it when you take the Sacred Gear.
  • The player standing unarmed on desert sand beside a seated jackal-headed statue, under a red evening sky, with a gold-framed objective panel reading Find the Sacred Gear and a health bar marked with an ankh.
    The start of the level. You're unarmed until you find the Sacred Gear.
  • Seth, a muscular jackal-headed giant in gold armour, walking across the shallow pool in front of the temple towards the camera.
    Seth wakes up. From here a Unity Behavior Graph picks his attacks.
  • The armed player with a khopesh and round shield, hit by a meteor that lands beside a stone brazier in a burst of sand. A red damage number floats above, a red ring marks the ground, the player's health bar reads 70, and Seth's boss bar with his name runs across the top of the screen.
    A meteor lands. The ring on the ground shows where the next one will hit.
  • The victory screen: the words Seth Defeated in gold capitals over a painting of a warrior raising a shield among temple ruins, with the line Seth is sealed beneath the sands again and a Play Again button.
    The victory screen.

Systems implemented

  • Three-hit combo with timing windows. Click too early or too late and the combo drops. It's a state machine over time, not a counter that goes up on every click.
  • One hit per enemy per swing, so a swing can't damage the same enemy twice while the weapon is still overlapping it.
  • Blocking that depends on direction: the shield only stops attacks coming from the arc in front of you, so which way you face matters.
  • Boss AI built with Unity Behavior Graph, with four attacks: a stomp, a jump attack if you keep away for eight seconds, a summon that stops at a set number of living undead, and a meteor shower that damages an area. His attacks can't be interrupted, but you can still hit him during them. He just doesn't flinch.
  • Target lock. Tab or a middle-mouse click locks onto the nearest enemy on screen. Movement then works relative to the target instead of the camera (forward closes in, sideways circles around), using the same movement code with two axes swapped.
  • Combat feedback in the world: damage numbers, and BLOCKED, BLOCK FAILED or UNBLOCKABLE over the player, so the blocking rules are visible instead of something you have to read about. Health bars over the undead, and a boss bar for Seth.
  • Meteor warnings: each impact point gets a ring on the ground that closes as the rock comes down, so getting hit is a mistake, not bad luck.
  • NavMesh pathfinding for the enemies.
  • Full game flow from the start through the boss fight to winning or dying, with every system told when the fight is over.

Built for ECE4208 (Game Programming). All gameplay scripts, systems and animation state logic are mine; models, terrain heightmaps, particle prefabs and animation clips were supplied by the course.

The story

For centuries the Sacred Gear lay buried under the sands of Egypt, and while it stayed hidden the dark god Seth stayed imprisoned beneath an ancient temple. You're a lone warrior sent to recover the Khopesh and the Shield of Ra. Taking them wakes Seth, who rises with his undead servants, and the only way out is to beat him.

How to play

Find the Sacred Gear, then defeat Seth.

W A S D
Move
Mouse
Look around
Shift
Run
Space
Jump
E
Pick up the Sacred Gear
Left click
Attack (time three clicks for a combo)
Hold right mouse
Raise the shield
Tab
Lock onto the nearest enemy, or let go (middle click works too)

You start unarmed, so get the gear first. The combo only chains if you time your clicks; mashing breaks it. The shield blocks the undead from the front, but nothing blocks Seth. While locked on, W and S move you closer or further away and A and D circle the target. A ring on the ground means a meteor is about to land there.