Surface: Difference between revisions

127 bytes added ,  23 November 2019
Added mention of de Facto Speed to floors
(Added explanation for floors)
(Added mention of de Facto Speed to floors)
Line 16: Line 16:


===Hitbox===
===Hitbox===
A floor's hitbox extends 78 units below and 100 units above the floor triangle. This allows Mario to move vertically along floors; if he is moving up or down a slope or stairs, he will be off the floor after his horizontal motion but still in its hitbox, which will snap him to the floor. He will always be snapped up if he's in a floor's hitbox below the floor, but he'll only be snapped down while above a floor if he is in a ground movement state.
A floor's hitbox extends 78 units below and 100 units above the floor triangle. This allows Mario to move vertically along floors; if he is moving up or down a slope or stairs, he will be off the floor after his horizontal motion but still in its hitbox, which will snap him to the floor. He will always be snapped up if he's in a floor's hitbox below the floor, but he'll only be snapped down while above a floor if he is in a ground movement state. When walking on a slope, Mario will move horizontally at a rate slower than his actual speed, known as his [[De Facto Speed]].


Any location that is not inside or above a floor hitbox is considered out of bounds; Mario will not be able to move into it of his own volition, and if forced into it, he will die.
Any location that is not inside or above a floor hitbox is considered out of bounds; Mario will not be able to move into it of his own volition, and if forced into it, he will die.