Invincibility Frame
A brief window of frames during a dodge, dash, or post-hit recovery when a character's hurtbox is disabled so incoming attacks pass harmlessly
Table of Contents
Interactive Playground
Tap or drag to interact with the demoWhat is Invincibility Frame?
A brief window of frames during a dodge, dash, or post-hit recovery when a character's hurtbox is disabled so incoming attacks pass harmlessly. It is a core concept in Combat Design within Game Dev.
Core Principles
Invincibility Frames (i-frames) are brief periods during which a character's hurtbox is temporarily disabled, allowing enemy attacks, projectiles, or hazards to pass right through them without inflicting damage.
I-frames serve two vital design roles. Mercy i-frames trigger right after taking damage (often signaled by a blinking sprite) so a single mistake does not instantly shred the player's health bar. Active dodge i-frames are built into rolls, dashes, or backsteps, rewarding players who time their evasion precisely through an enemy's swing rather than simply running away.
Practical Takeaways
- Tune the startup / active / recovery ratio carefully: At 60fps, a crisp action dodge typically uses
0–2f startup,10–15f i-frames, and8–12f vulnerable recovery. Too many i-frames erase tension; too few make wide sweeps feel unfair. - Communicate invincibility clearly: Pair i-frames with unmistakable visual feedback—ghostly afterimages, brief translucency, flashing outlines, or whoosh audio—so players internalize when they are safe versus exposed.
- Counter spam with recovery windows and stamina: Pair i-frames with stamina costs or vulnerable recovery frames so bosses can punish panic-rolling with delayed "roll-catch" attacks.
Notable Examples
- Dark Souls / Elden Ring: Ties dodge roll i-frame counts and recovery speed to equipment load, turning invincibility frames into a core build and combat mastery variable.
- Hades: Grants responsive early i-frames on its dash so players can thread directly through lasers and bullet spreads at blistering speed.
- Monster Hunter: Uses tight default roll i-frames (expandable via the Evade Window skill), rewarding players who memorize monster attack timings.