Hitbox: Difference between revisions

2,167 bytes added ,  8 July 2020
m
moved a message where they would actually see it
m (MMMMMMMMMMMMM moved page Hitboxes to Hitbox: It doesn't make sense to have a plural title when the subject is written about as singular.)
m (moved a message where they would actually see it)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[File:Star Hitbox.jpg|thumb|right|300px|Hitbox of a [[Power Star]]]]
{{stub}}
{{stub}}


A [[Hitboxes|hitbox]] is an invisible shape commonly used in video games for real-time collision detection. It is often a rectangle or circle (in 2D games) or cuboid, cylinder, or sphere (in 3D) that is attached to and follows a point on a visible object (such as a model or a sprite). They are used for collision detection.
A '''hitbox''' is an invisible shape commonly used in video games for real-time collision detection. It is often a rectangle or circle (in 2D games) or cuboid, cylinder, or sphere (in 3D) that is attached to and follows a point on an [[object]]. They are used for collision detection.
==Hurtboxes==
''If you typed [[Hurtbox]], you may be looking for the [[Interaction Type|interaction type]] called [[Interaction Type#Hurtbox 1 & 2|Hurtbox 1]] or [[Interaction Type#Hurtbox 1 & 2|Hurtbox 2]].''
 
 
'''Hurtboxes''' are a specific type of hitbox that hurt Mario when he touches them. Many different enemies in the game have hurtboxes.
===List===
* [[Goomba]]s
* [[Explosion]]s (spawned by [[Bob-omb]]s and [[Mine]]s)
* [[Bowser]]
* [[Bubble Bomb]]s
* [[Fire]]
* [[Clam]]s
* [[Treasure of the Ocean Cave|Chests]]
* And many more.
Note that [[lava]] is a [[floor]] with a special property, not a hurtbox.
===Uses===
Because hurtboxes provide an easy way to damage Mario, they create an easy way to utilize [[Pause Buffered Hitstun]]. The hurtbox of fire also gives a small vertical boost, which is useful in the [[A Button Challenge]].
 
==Collision hitboxes==
Many hitboxes push Mario away, such as those of Bob-ombs and [[Chuckya]]s. These are necessary for [[Quick Release]] and are also the basis for the [[Bloated Bob-omb]] and [[Handsfree Teleported Bob-omb]] glitches, which work because the Bob-omb's size is large enough that its hitbox pushes Mario back, but it moves with him because he's holding it.
 
==Clone hitboxes==
Cloned objects that Mario can pick up normally act normal when set down, and have normal hitboxes. However, clones of objects never meant to be held have odd hitboxes. The majority of them can be interacted with only once by Mario, if at all. Platforms are intangible, and most enemies can injure Mario once and then become intangible. Coins can only be collected once, but don't disappear. [[Koopa Shell|Shells]] and [[Bully|Bullies]] are exceptions to this rule, as they can be interacted with multiple times.
===Overshadowing===
Clone hitboxes overshadow the hitboxes of other clones of the same type. For example, Mario can release a [[fire]] clone and will immediately get burned by it. Then, he can stand in its (now dormant) hitbox to release another without getting burned. This serves many purposes in the [[A Button Challenge]], including [[Bowser in the Sky]] and [[Tick Tock Clock]].
139

edits