Movement steps

From Ukikipedia
Revision as of 18:21, 15 October 2018 by Sunky (talk | contribs)
Jump to navigation Jump to search

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.

Steps are also responsible for detecting collision with surfaces, updating Mario's referenced surfaces, and updating Mario's water level. However, quarter steps don't detect warps.