Game dev
Saved & recent

I-frames

Also called: invincibility frames

Related terms: dodge roll, mercy invincibility

A short window in which a character cannot be hurt. A dodge roll has them in the middle of its animation, so a well-timed roll passes straight through an attack.

They are also given right after taking damage, usually with a blinking sprite, so one enemy cannot hit the player several times in a row. The name comes from measuring the window in frames.

Further reading
Knox Game Design: I-Frames and Stun Lock
hazard crossing 0 4 8 10 18 protected frames frame
The roll is protected from frame 4 through 9 in this example. The crossing at frame 8 falls inside that interval.

View in the full Game dev collection