In developmentEncounter and combat design
The Boss Fight
A single-player soulslike boss encounter: one approach path, one arena, and one boss with two phases and a scripted finale.
- Role
- Solo: design, systems, scripting
- Engine
- Unreal Engine 5.5 · Blueprints on a C++ project
- Scope
- Initial setup plus six weeks, part-time
- Status
- Design document complete (GDD v1.1.3). Build in progress.
Goal
A two-phase soulslike boss that teaches its mechanics before it tests them.
Key challenge
Making every hit feel fair, even while the boss is testing the player.
Status
The design is finished and the player's combat is playable in the editor. The boss, the packaged build and a full gameplay capture are still to come.
Editor capture, 5 Nov 2026: the player's combat against a test dummy. The boss isn't in the build yet.
01
What's mine and what's reused
The combat backend comes from a course, so my time goes into the encounter itself.
I designed, and am building
- Boss concept, phases, move set and timings
- Phase state machine and the attack selector with its data table
- Commentary UI layer that shows what the AI is thinking
- Combat arena
Reused from a course
- Equipment and combat components
- Dodge, block, heal and lock-on
- Health and stamina components
- Tag-based state manager
- Raycast hit detection and hit management
- Behavior Tree and enemy AI perception
Course: Unreal Engine 5: Soulslike Melee Combat System ↗ by Unreal RPG Mastery. I built it in Unreal by following along, then edited it.
Mesh and animations are Epic's Paragon assets, retargeted to Manny by Kingboars. All art is placeholder. Ping and Master Shift are placeholder names.
02
Where the build stands
Editor capture · 5 Nov 2026 · 30 s
- Player side first. A test dummy takes the boss's place while Ping's moves come together. The boss can only be fair if the player's own combat already feels right.
- Placeholder everything. The Manny mannequin, the Third Person template map and its blue cubes.
- Not in this capture: Master Shift, the phase state machine and the commentary layer.
- Game design documentv1.1.3, done
- Interim editor capture30 s, 5 Nov 2026, done
- Packaged Windows buildin development
- 3 to 4 minutes of captured gameplay with the commentary layerpending
- One-page post-mortempending
Ping's three attacks
Captures from the prototype. The numbers come from the player kit in the GDD.



03
Four rules the fight has to follow
01 · Tutorial
Teach, then test
The phases teach and test skills. The finale tests whether the player is actually proficient.
02 · Readable
Every hit is explainable
The boss gives the player ways to counter, and the player should understand why they got hit.
03 · The teacher angle
Observe, then correct
Phase 1 observes the player's habits. Phase 2 responds to them, within scope.
04 · Show the backend
Let people see it think
A development overlay you can toggle shows what the AI is observing and how that changes its behaviour.
04
Recitation, correction, final form
The hook is a teacher fighting their student. It's the last form the master teaches, and to learn it you have to defeat them. Master Shift has 1200 HP and 100 poise.
Phase 1 · 100% → 60%
Recitation
Teaches: spacing, dodge timing, sizing the punish.
Behaviour: walks, fixed attack weights, long openings.
Phase 2 · 60% → 10%
Correction
Teaches: reading tells, stamina discipline, staying locked on.
Behaviour: faster, stays closer, responds to player habits.
Phase 3 · 10%
Final Form
Teaches: all of the above.
Behaviour: health floor of 1, a fixed sequence, then the death animation.
| Gameplay decision | Systems reason | Narrative reason |
|---|---|---|
| Phase 1 is slow | Teaches timing and spacing while the player observes the boss. | Shift works through every form on his way to the final one. |
| Phase 2 adapts to the player | Punishes relying on the same thing over and over. | A teacher making sure his student can fight a smarter enemy. |
| The finale uses every move | Tests what the player has learnt. | The final form is every previous form, used together, while reading the opponent. |
05
Nine moves from five animations
Quick cut, wide sweep, overhead, lunge and ground slam, stretched into nine moves with chaining, wind-up holds and play rate.
| # | Move | Phase | Range | Wind-up | Damage | Recovery |
|---|---|---|---|---|---|---|
| 1 | Cross Cut | 1, 2 | 0–4 m | 0.55s | 18 | 0.9s |
| 2 | Wide Sweep | 1, 2 | 0–5 m · 240° | 0.9s | 24 | 1.2s |
| 3 | Overhead | 1, 2 | 2–6 m | 1.2s | 35 | 1.6s |
| 4 | Chain (1 → 2 → 3) | 1 | per move | 0.5s gaps | per move | 1.8s |
| 5 | Overhead Red | 2 | 2–6 m | 1.7s | 35 | 1.6s |
| 6 | Closing Sweep | 2 | 6–12 m | 0.8s | 26 | 1.3s |
| 7 | Root Break Red | 2 | 5 m · 360° | 1.2s | 30 | 1.8s |
| 8 | Chain 2 (1 → 5 → 2) | 2 | per move | 0.5s gaps | per move | 1.8s |
| 9 | Final Form (1, 2, 5, 6, 7) | 3 | arena | < 0.4s | per move | death |
Rules that keep it readable
- Opening pose held for more than 0.3s.
- Tracking cut off 0.25s before the hit frames.
- Unblockable attacks get a red weapon glow.
- Held attacks get a yellow glow and a sound.
- Recovery is never shorter than 0.9s.
- Every attack has its own voice effort that starts with the wind-up, so the player can hear what's coming.
06
The boss reads how you play
The player has one weapon and no magic, so the boss reads how the sword is used. Detection uses fixed counters and thresholds with no randomness, so the same play always gets the same read.
| Habit | Detection | Response | Callout |
|---|---|---|---|
| Rolling early | 3 of the last 5 dodges start more than 0.4s before the attack's hit | Overhead Red | “You roll before you see” |
| Blocking too much | Blocking for 4+ of the last 10s | Root Break Red | “Hiding is not defending” |
| Backing off | Beyond 8 m for 3+ of the last 10s, or healing beyond 8 m | Closing Sweep | “Running is not a form” |
| Attacking into the wind-up | 3+ player attacks started during the boss's wind-up in the last 10s | Chain 2 (1, 5, 2) | “Greed is not courage” |
- At 60% health the boss calls out the habit with the highest count relative to its threshold, and opens Phase 2 with that habit's counter. If nothing has triggered he says “Clean. Let's see if it lasts”.
- When a habit triggers in Phase 2, its counter is the next attack as soon as it's in range and off cooldown. That habit's counter then resets and can't trigger again for 20s.
- If several habits trip at once, fixed priority decides: blocking, then rolling early, then backing off, then attacking into the wind-up.
- The commentary layer shows all four counters live and names the rule that fired, for example “Root Break because blocking 5 in 10s”.
07
How long should a win take?
| Finale triggers at 10% health | 1,080 dmg |
| About 30 damage per opening (light and heavy mix) | 36 openings |
| About 5s per attack cycle at a 70% attack rate | ≈ 4 min |
| Same, at a 90% attack rate | ≈ 3.2 min |
| Player effective health: 100 + 3 heals × 40 | 220 HP |
| Hits the player can absorb | 7 – 13 |
The finale, in numbers
At 10% health the boss pauses for 3.0s with a health floor of 1. The player heals and regains stamina in that window and should recover about 60% from it alone.
The form runs for about 8s. Dodging five times costs 100% stamina. Taking every hit deals 133 damage, which is lethal. Once it ends, Shift kneels and any hit ends the fight.
At full health a player could survive 4 of the 5 finale hits, but nobody is meant to start the finale at full health. If playtests show it's too easy, the numbers change.
Player kit: Ping
Health 100 · Stamina 100 · regen 30/s after a 1.0s cooldown
| Action | Stamina | Effect |
|---|---|---|
| Light attack | 12 | 18 damage, 3-hit chain, 8 poise |
| Heavy attack | 25 | 35 damage, 15 poise |
| Charged attack | 18 | 27 damage, 11 poise |
| Dodge | 20 | 0.7s animation, about 4 m |
| Block | varies | 40% stamina reduction, guard break at 0 |
| Sprint | 12/s | About 6.5 m/s |
| Heal | n/a | +40 instantly, 3 charges |
08
Scope and playtest targets
One person, six weeks, part-time. The feature list is prioritized so the fight is complete before anything extra gets built.
Must
- One-weapon player kit
- Boss: two phases and finale
- Five boss attack animations
- Phase state machine
- Attack selection system
- Grey-boxed level
- Player HUD
- Commentary UI
- Retry button
Should
- Player habit tracking
- Barks and efforts
- Motion-warped attacks
- Camera effects
- Audio cues
- Feedback system
Could
- Parry
- Music loop
- Pause menu with notes
Not included
- Other enemies
- Elaborate level
- Inventory system
- Save system
- Leveling system
- Bespoke art or animations
- Cinematics
What "working" means
| Metric | Target |
|---|---|
| Attempts to clear (gaming-literate players) | 3 – 8 |
| Length of the winning attempt | 3 – 4.5 min |
| “Was the death explainable?” | > 80% yes |
| Recognising red attacks | within 3 encounters |
| Players who notice the adaptive AI | > 50% |
| Performance | 60 fps · 1080p · mid-range GPU |
09
References
- Attack feel: Margit, the Fell Omen ↗, Elden Ring (FromSoftware).
- Red glow for unblockable attacks: God of War Ragnarök (Santa Monica Studio).
- Character art: Owl Father, Sekiro: Shadows Die Twice (FromSoftware).
- Narrative feel: Naked Snake vs The Boss ↗ (Metal Gear Solid 3).
- Loose idea for the habit reading: enemy preparedness in Metal Gear Solid V: The Phantom Pain (official ↗).
- Story inspiration: loosely Kung Fu Panda and Dronacharya, the royal guru of the Mahabharata.
- Games studied: God of War Ragnarök, The Witcher 3: Wild Hunt and Elden Ring.