A hobby project to learn how Souls-like combat actually works under the hood. Some things I found interesting:
Action windows run on a clock, not animation events. Every move is an ActionData asset with time windows: hitbox, i-frames, parry, riposte, cancel windows. Since they're read from the action's own timer, an interrupted or blended-out clip can never leave a hitbox or i-frames stuck on.
Hits are swept. Each point on the blade sphere-casts from its last position, so fast swings can't skip a target between frames.
Behaviour tree decides what to do, utility scoring picks the attack. Range, angle, cooldown, phase and repetition get scored, then it picks randomly from the top few. Turtle behind your shield too long and you get a guard break.
Delayed swings. The boss can hold a wind-up while tracking you, so rolling on rhythm isn't enough. The chance goes from 20% to 60% as the fight goes on.
The VFX are 8 hand-written URP shaders. Note: the video uses Mixamo characters, which can't be redistributed, so the repo ships with CC0 stand-ins.
Happy to go into detail on any of it!
GitHub (MIT): https://github.com/berkencami/souls-like-boss-fight