Movement steps

From Ukikipedia
Revision as of 07:40, 19 August 2018 by Stick (talk | contribs) (marked as a stubby boi)
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.