2D
Pokémon Arena 2D
Beta Drop Alert
Physics & Engine
8 min read
October 18, 2026

Hitbox vs. Hurtbox Engineering: Precision Sub-Frame Collision in 2D Arena Battlers

Executive Technical Summary:Collision detection is the heart of any physics-based 2D arena fighter. This guide deconstructs how bounding boxes, raycasts, and polygon meshes interact to deliver satisfying hit confirmation and clean visual clarity.

1. Defining the Collision Hierarchy: Hitbox, Hurtbox, Pushbox

In modern 2D engines like the one powering Pokémon Arena 2D, a sprite or 3D skeletal rig is wrapped in multiple overlapping collision volumes with specialized roles: 1. Hurtboxes (Green/Blue): Represents the character's physical body vulnerability. When an opponent's hitbox overlaps your hurtbox, damage is calculated. 2. Hitboxes (Red): Generated by attacks, projectiles, and disjoined weapon strikes. They carry properties such as damage value, hitstun duration, knockback angle, and chip damage. 3. Pushboxes (Yellow): Governs character-to-character physical displacement, preventing fighters from occupying the exact same X/Y world coordinates.
Box TypeColor CodeActive DurationPrimary Function
HurtboxGreen / CyanAlways active (unless I-frames)Receives incoming damage and status effects
HitboxRed / OrangeActive attack frames onlyDeals damage, hitstun, and knockback trajectories
PushboxYellowConstant during movementPrevents sprite overlap and drives corner spacing
ThrowboxPurpleGrab startup framesBypasses guard to initiate directional throws

2. Disjointed Hitboxes and Spacing Advantage

A "disjointed hitbox" occurs when an attack hitbox extends beyond the character's hurtbox. In Pokémon Arena 2D, projectile weapons and elemental blasts (such as Pikachu's Thunderbolt or Charizard's Flamethrower) feature pure disjoints. Disjointed attacks dominate neutral interactions because they cannot be counter-hit by standard physical strikes.

3. Sub-Frame Collision Sweeping and Tunneling Prevention

High-speed physics games frequently suffer from "tunneling," where a projectile or fast-moving fighter passes entirely through an opponent between discrete frames. Developers solve this using Continuous Collision Detection (CCD) and swept-volume raycasts, calculating mathematical intersections along the path of motion rather than static snapshot comparisons.

Frequently Asked Technical Questions

Why are disjointed hitboxes advantageous in neutral game?

Disjointed hitboxes allow fighters to contest space without putting their own hurtbox in harm's way, drastically reducing the risk of being counter-hit.

What are invulnerability frames (I-frames)?

I-frames are specific animation frames where a character's hurtbox is temporarily deactivated, making them immune to all incoming strikes.

Advertisement