Tuning Hitboxes and Hurtboxes in Fighting Games

Combat designers tune frame-by-frame hitboxes and hurtboxes to balance competitive fairness, visual clarity, and tactile responsiveness in fighting games. This guide breaks down the technical workflow behind collision design, explaining how developers structure frame data, shape invisible volumes, align sensory cues, and iterate using debug tooling to ensure every strike feels immediate and satisfying.

The Foundation: Distinguishing Hitboxes, Hurtboxes, and Pushboxes

Responsive combat relies on three distinct invisible volumes defined per frame:

  • Hitboxes (Red Volumes): Offensive zones generated during an attack that trigger damage, hitstun, or blockstun upon overlapping an opponent's vulnerable areas.
  • Hurtboxes (Green/Blue Volumes): Vulnerable zones that track a character’s anatomy, signaling where they can receive damage.
  • Pushboxes (Yellow Volumes): Solid physical boundaries preventing characters from walking through one another, maintaining spatial integrity.

Frame Data Synchronization: Startup, Active, and Recovery

Designers calibrate these collision volumes across the three phases of an animation:

  1. Startup Frames: Hurtboxes shift to reflect anticipation animations. Combat designers frequently contract or extend hurtboxes prior to an impact—such as making an anti-air user lower their hurtbox—to create deliberate defensive advantages.
  2. Active Frames: Hitboxes are activated. Designers often adjust the size and position of the hitbox frame-by-frame rather than keeping it static. For instance, a swinging sword might have an active hitbox for only two to three frames at the apex of the swing, demanding precise timing from the player.
  3. Recovery Frames: Hitboxes deactivate while the character returns to neutral. Designers frequently extend hurtboxes forward (a "lingering hurtbox") so an opponent can punish a missed attack on reaction.

Gameplay Feel vs. Visual Realism: The Disjointed Hitbox

Hitboxes rarely match character models exactly. Real-world physics often feel sluggish or inconsistent in a fast-paced fighting game, leading designers to use non-literal shapes:

  • Disjointed Hitboxes: The hitbox extends significantly past the character's hurtbox (common with weapons or projectiles), allowing safe interactions against incoming strikes.
  • Safety Buffers: Hurtboxes are often slightly smaller than the character model to prevent frustrating edge-case hits, while hitboxes are slightly enlarged to ensure strikes that clearly look like they connected do not whiff.
  • Leniency Bubbles: Generous bounding boxes ensure jumping attacks reliably hit standing or crouching targets without visual clipping artifacts.

Amplifying Responsive Feedback

Collision detection is only half the battle; the tactile response when a hitbox meets a hurtbox must be instantaneous:

  • Hitstop (Freeze Frames): When an overlap occurs, both characters freeze for a set number of frames (typically 4–14 frames depending on attack strength). This emphasizes impact power and gives players time to process whether an attack hit or was blocked.
  • Vector and Particle Alignment: Visual effects (sparks, blood, slashes) and directional camera shakes spawn at the exact point of the hitbox-hurtbox intersection rather than the center of the character model.
  • Audio Triggering: Sound effects are hardcoded to trigger on the exact frame of collision rather than the visual contact point, removing any perceived input or reaction lag.

Iteration Tools and Debugging Workflows

Designers tune these mechanics using specialized in-engine frame editors:

  • Collision Visualizers: Designers toggle real-time wireframes or transparent colored meshes over character models to evaluate spatial coverage at 60 frames per second.
  • Frame Scrubbing: Tools allow developers to advance, reverse, and tweak collisions frame-by-frame, immediately adjusting box dimensions in response to playtest telemetry.
  • State-Based Morphing: Hurtboxes automatically switch profiles depending on context—standing, crouching, airborne, in hitstun, or during invulnerability frames (i-frames)—ensuring that defensive options feel reliable across varied matchups.