Hitbox: Difference between revisions
No edit summary |
MHStarCraft (talk | contribs) mNo edit summary |
||
Line 5: | Line 5: | ||
A '''hitbox''' or '''collision bubble''' (sometimes '''hitbubble''') is the main structure for how attacks are executed in most fighting games. Attacks have one or more hitboxes associated with them, and when these hitboxes overlap with a target's damagable area (sometimes called their '''hurtbox''' or '''hurtbubbles'''), the attack is considered a hit. Hitboxes are invisible and usually, though not always, have the same shape as the attack's animation. | A '''hitbox''' or '''collision bubble''' (sometimes '''hitbubble''') is the main structure for how attacks are executed in most fighting games. Attacks have one or more hitboxes associated with them, and when these hitboxes overlap with a target's damagable area (sometimes called their '''hurtbox''' or '''hurtbubbles'''), the attack is considered a hit. Hitboxes are invisible and usually, though not always, have the same shape as the attack's animation. | ||
The two most common forms of hitbox shapes in video games are [[wikipedia:cuboid|cuboids]] and spheres. Neither is obviously better than the other - cuboids can more easily form long or thin attacks, while spheres are easier to calculate collision detection for. ''[[SSB]]'' uses cuboids whereas ''[[SSBM]]'' and ''[[SSBB]]'' use spheres. | The two most common forms of hitbox shapes in video games are [[wikipedia:cuboid|cuboids]] and spheres. Neither is obviously better than the other - cuboids can more easily form long or thin attacks, while spheres are easier to calculate collision detection for. ''[[SSB]]'' uses cuboids whereas ''[[SSBM]]'' and ''[[SSBB]]'' use spheres or circles. | ||
In ''SSB'', hacks can enable hitbox visibility (with a few limitations). In ''SSBM'', hitboxes can be seen using [[Debug Mode]]. There is no easy way to display hitboxes in-game in ''SSBB'', though a common technique is to use hacks to place [[Super Scope]] shot visuals where the hitboxes are. | In ''SSB'', hacks can enable hitbox visibility (with a few limitations). In ''SSBM'', hitboxes can be seen using [[Debug Mode]]. There is no easy way to display hitboxes in-game in ''SSBB'', though a common technique is to use hacks to place [[Super Scope]] shot visuals where the hitboxes are. |
Revision as of 07:51, November 3, 2011
A hitbox or collision bubble (sometimes hitbubble) is the main structure for how attacks are executed in most fighting games. Attacks have one or more hitboxes associated with them, and when these hitboxes overlap with a target's damagable area (sometimes called their hurtbox or hurtbubbles), the attack is considered a hit. Hitboxes are invisible and usually, though not always, have the same shape as the attack's animation.
The two most common forms of hitbox shapes in video games are cuboids and spheres. Neither is obviously better than the other - cuboids can more easily form long or thin attacks, while spheres are easier to calculate collision detection for. SSB uses cuboids whereas SSBM and SSBB use spheres or circles.
In SSB, hacks can enable hitbox visibility (with a few limitations). In SSBM, hitboxes can be seen using Debug Mode. There is no easy way to display hitboxes in-game in SSBB, though a common technique is to use hacks to place Super Scope shot visuals where the hitboxes are.
Hitboxes that are large and/or distanced from the attacking character are often called disjointed, which is often an advantage, as they can connect from a surprising distance while keeping the attacker away from retaliation. Examples of disjointed hitboxes include most sword and hammer attacks, as well as the up tilts of Kirby (in SSB) and Snake.
An interesting property of hitboxes in the Smash Bros. series is that under most conditions, they occupy not only the space where they currently are, but also the space where they were one frame ago as well as all the space in between. This characterisic is likely to prevent situations where a fast projectile may end up passing through a character in less than a frame without hitting them.
Hitbox Type | Debug Mode Colour | Explanation |
---|---|---|
Offensive | Red | The standard type of attacking hitbox. In SSBB, there are various types of offensive hitboxes, some of which have unique abilities (like the abitlity to ignore shields). |
Damagable | Yellow | The standard type of damagable area, also known as hurtboxes. Characters have a variety of these attached to their bodies, while damagable stage areas use them as well. |
Invincible | Green | Invincible targets can be hit by attacks but will not flinch or take any damage or knockback. For example, this occurs for characters that have just stepped off a revival platform, or who have used a Star. |
Intangible | Blue | Intangible targets cannot be hit by attacks. This occurs during dodges and rolls. Various characters have attacks which provide parts of their body with intangibility, such as Mario's head during his up smash. |
Special/Defensive | Cyan | These hitboxes intereact with others in various ways. They are used for shields, counters, reflectors, absorbers, and so on. |
Grab | Magenta | Grab hitboxes will ignore any special or defensive hitboxes. |
Inert | Grey | Inert hitboxes are used for collision detection when a regular hitbox is unsuitable (such as the dash of Raptor Boost). |
Trapbox
A trapbox is the hitbox left on the ground during Ness' Yoyo Glitch. As with all hitboxes, trapboxes are invisible. It is called a trapbox because this hitbox is not attached at all to any kind of attack but instead just sits on the ground or, in some cases, floats in the air.
Trivia
- In SSB and Melee, grab hitboxes are simply regular, 0%-damage hitboxes with "grab" for an effect. Inert hitboxes in Melee are similar. Both grabs and inert hitboxes are seperate objects in Brawl, though in rare cases a 0%-damage hitbox is used as an inert one.