59,477
edits
m (Text replacement - "|thumb|right" to "|thumb") |
m (Text replacement - "\|(right|thumb)\|([^\]\n]+)\|(right|thumb)" to "|thumb|$2") |
||
Line 1: | Line 1: | ||
{{ArticleIcons|series=y}} | {{ArticleIcons|series=y}} | ||
:''For the website, see [[hitbox.tv]].'' | :''For the website, see [[hitbox.tv]].'' | ||
[[File:Mewtwo Up Aerial Hitbox Melee.gif|thumb|200px | [[File:Mewtwo Up Aerial Hitbox Melee.gif|thumb|200px|An example of offensive and damageable collision bubbles in ''Melee'', as demonstrated with {{SSBM|Mewtwo}}'s up aerial. Yellow bubbles are collision bubbles, and red bubbles are hitbox bubbles.]] | ||
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 damageable area (often 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 damageable area (often 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. | ||
==Overview== | ==Overview== | ||
[[File:SSBU Training Hurtboxes.png|thumb|250px | [[File:SSBU Training Hurtboxes.png|thumb|250px|''[[Super Smash Bros. Ultimate]]''{{'}}s [[Training mode]] displaying hurtboxes for invulnerability: {{SSBU|Mario}} is [[invincible]] due to a [[Super Star]], while {{SSBU|Ridley}}'s wing, head, and arm are [[intangible]] due to his [[up tilt]].]] | ||
The two most common forms of hitbox shapes in video games are {{iw|wikipedia|cuboid}}s and spheres. Neither is obviously better than the other - cuboids can more easily form long or thin attacks or targets, while spheres are easier to calculate collision detection for. ''[[Smash 64]]'' uses cuboids whereas ''[[Melee]]'', ''[[Brawl]]'', ''[[Smash 4]]'', and ''[[Ultimate]]'' use spheres and sphere-like structures known as capsules (cylinders with spheres on the ends). | The two most common forms of hitbox shapes in video games are {{iw|wikipedia|cuboid}}s and spheres. Neither is obviously better than the other - cuboids can more easily form long or thin attacks or targets, while spheres are easier to calculate collision detection for. ''[[Smash 64]]'' uses cuboids whereas ''[[Melee]]'', ''[[Brawl]]'', ''[[Smash 4]]'', and ''[[Ultimate]]'' use spheres and sphere-like structures known as capsules (cylinders with spheres on the ends). | ||
Line 19: | Line 19: | ||
===Hitboxes in three dimensions=== | ===Hitboxes in three dimensions=== | ||
[[File:3D Hitboxes in Melee.png|thumb|250px | [[File:3D Hitboxes in Melee.png|thumb|250px|While the regular camera suggests Mario should have been hit already, a side view shows otherwise.]] | ||
It is a common misconception that, like in most other fighting games, hitboxes and hurtboxes only operate in two dimensions. In actuality, they interact in all three dimensions equally, even though the majority of gameplay elements are restricted to two-dimensional movement. As a result, ''Super Smash Bros.'' is more accurately described as a [[wikipedia:2.5D#3D games with a two-dimensional playing field|2.5D]] game. | It is a common misconception that, like in most other fighting games, hitboxes and hurtboxes only operate in two dimensions. In actuality, they interact in all three dimensions equally, even though the majority of gameplay elements are restricted to two-dimensional movement. As a result, ''Super Smash Bros.'' is more accurately described as a [[wikipedia:2.5D#3D games with a two-dimensional playing field|2.5D]] game. | ||
Line 32: | Line 32: | ||
==Hitbox types== | ==Hitbox types== | ||
[[File:HitboxBubblesSSBM.png||thumb|250px | [[File:HitboxBubblesSSBM.png||thumb|250px|The different types of hitboxes and hurtboxes visualized in ''Melee''.]] | ||
{|class="wikitable" align="center" | {|class="wikitable" align="center" | ||
!Hitbox Type!![[Debug menu (SSBM)/DEVELOP mode|Debug mode]] Colour!!Explanation | !Hitbox Type!![[Debug menu (SSBM)/DEVELOP mode|Debug mode]] Colour!!Explanation |