Movement steps: Difference between revisions

→‎Common Air Step Results: Lava Boost on Wall
(add common air knockback step)
(→‎Common Air Step Results: Lava Boost on Wall)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Typically, Mario's position is updated incrementally using his velocity. These increments are called '''steps''', and they behave differently when Mario is on the ground, in the air, in water, hanging, and climbing a pole. When on the ground or in the air, these steps typically occur four times per frame, and are commonly referred to as '''quarter steps''' or sometimes '''quarter frames'''.
Typically, Mario's position is updated incrementally using his velocity. These increments are called '''steps''', and they behave differently when Mario is on the ground, in the air, in water, hanging, and climbing a pole. When on the ground or in the air, these steps typically occur four times per frame, and are commonly referred to as '''quarter steps''' or colloquially '''quarter frames'''.


Steps are also responsible for detecting collision with [[surfaces]], updating Mario's [[referenced surfaces]], and updating Mario's [[Water|water level]]. However, quarter steps don't detect object collisions or warps.
Steps are also responsible for detecting collision with [[surfaces]], updating Mario's [[referenced surfaces]], and updating Mario's [[Water|water level]]. However, quarter steps don't detect object collisions or warps.
Line 103: Line 103:
** Mario's action is set to the [[Start Hanging|start hanging]] action.
** Mario's action is set to the [[Start Hanging|start hanging]] action.
* '''Lava Wall Boosts'''
* '''Lava Wall Boosts'''
** Mario's yaw is set perpendicular to the wall.
** [[Lava Boost on Wall]]
** Mario's forward speed is capped to 24.
** If Mario is not wearing a metal cap, he is hurt 12 (or 18 without his hat).
** Mario plays the noise for being burned.
** The camera preset is set to the area's default preset.
** Mario enters the [[Lava Boost|lava boost]] action while dropping any held objects and no longer riding a shell.


=== Common Air Knockback Step ===
=== Common Air Knockback Step ===
269

edits