Walking: Difference between revisions

set_mario_action
(finish todo)
(set_mario_action)
Line 14: Line 14:
[[File:Walking.svg|alt=A velocity/time graph of Mario's speed during the first 45 frames (1.5 seconds) of walking|thumb|Mario's speed during the first 45 frames (1.5 seconds) of walking. Note that this depends on the floor's slope (see [[De facto speed]]).]]
[[File:Walking.svg|alt=A velocity/time graph of Mario's speed during the first 45 frames (1.5 seconds) of walking|thumb|Mario's speed during the first 45 frames (1.5 seconds) of walking. Note that this depends on the floor's slope (see [[De facto speed]]).]]
The '''walking''' action occurs when Mario is moving only by using the analog stick. It can also occur when exiting water (except if exiting water through a [[water jump]]).
The '''walking''' action occurs when Mario is moving only by using the analog stick. It can also occur when exiting water (except if exiting water through a [[water jump]]).
== set_mario_action ==
Before even the common cancels or behavior, when transitioning into this action:
# If the floor is not very slippery, and Mario's forward velocity is from [0 to min(intendedMag, 8))
## Set forward velocity to min(intendedMag, 8)
# Set walking pitch to 0
== Common moving cancels ==
== Common moving cancels ==
All actions in the "moving" group check the following cancels before running any behavior script:
All actions in the "moving" group check the following cancels before running any behavior script:
208

edits