← THE BLUE STICK

Guides / Game mechanics explained

What Are I-Frames? Invincibility Frames Explained

PLAY NOWSolo, free, in your browser

I-frames, short for invincibility frames, are the frames of an animation during which a character cannot take damage. A dodge roll that passes straight through a sword swing works because of them. So does the flashing second after you are hit in an old platformer.

The word "frame" is literal. Games update in steps, commonly 60 per second, so one frame is about 17 milliseconds. A dodge with 12 i-frames at 60 frames per second protects you for a fifth of a second.

Anatomy of a dodge

The three parts of a dodge roll A bar divided into three parts: a short vulnerable start, a longer invincible middle, and a vulnerable recovery at the end. An attack arriving in the middle part misses. start invincible (i-frames) recovery can be hit attacks pass through can be hit, cannot act yet enemy attack lands here: miss button pressed free to act
A dodge is rarely invincible from start to finish. The safe part sits in the middle, and the recovery after it is where greedy dodges get punished.

The picture explains most deaths. Roll too early and the attack arrives during recovery. Roll too late and it arrives before the safe part begins. The goal is to put the blue section on top of the moment the attack would have connected.

Four kinds of i-frames

KindWhen you get themExamples
DodgeDuring part of a roll, dash or sidestepDark Souls, Elden Ring, Hades, Enter the Gungeon
After a hitFor a moment after taking damage, often shown by flashingSuper Mario Bros., Mega Man, Hollow Knight
On spawnFor a moment after appearingMany online shooters
During a moveBuilt into certain attacks or cutscene-like actionsReversals in fighting games, finishing moves in action games

Dodge i-frames turn defence into a timing skill. In the Dark Souls series the roll passes through attacks, and a heavier load of equipment gives a slower roll, so armour is a trade against mobility. Enter the Gungeon gives its dodge roll the same property, which is how players survive screens full of bullets.

After-hit i-frames exist for fairness. Without them, one enemy standing on top of you would drain the whole health bar in a blink. The flashing tells you that you are safe and for how long. Skilled players use this on purpose, taking one small hit to walk through a larger danger while the protection lasts. Speedrunners call this a damage boost.

Spawn protection stops players being hit before they can react. It usually ends early if the protected player attacks.

What i-frames are not

How to practice timing

  1. Dodge into attacks, not away. Rolling backwards keeps you in range for the whole swing. Rolling through it gets you past the dangerous part faster and puts you behind the enemy.
  2. Watch the weapon, not the wind-up. Enemies in hard games delay their swings to catch early rolls. Press when the weapon starts to move towards you.
  3. Learn one enemy at a time. Pick a single attack. Let it hit you once to see its real timing, then dodge it ten times in a row before fighting back.
  4. Count the recovery. After each dodge, note when you can act again. If you cannot attack before the next swing, dodge twice and attack later.
  5. Do not mash. Many games queue a second dodge if you press twice. The extra roll usually ends exactly where the next attack lands.

A final point: i-frames set the rhythm of a whole game. A long, generous dodge makes for fast, aggressive fights. A short one makes every dodge a commitment. When a game feels unfair, it is often worth checking whether you have been dodging by reflex instead of by timing.

PLAY NOWSolo, free, in your browser