Walking

From Ukikipedia
Revision as of 08:23, 19 August 2022 by BigB (talk | contribs) (added mario speed graph)
Jump to navigation Jump to search
Walking
Properties
Hex todo
Action Flags todo
Action Group Moving
ID todo

When walking[1]:

  1. A velocity/time graph of Mario's speed during the first 45 frames (1.5 seconds) of walking
    Mario's speed during the first 45 frames (1.5 seconds) of walking.
    mario_drop_held_object
  2. if should_begin_sliding; Begin Sliding
  3. if INPUT_FIRST_PERSON:
    1. mario_drop_held_object
    2. if actionState == 1; Standing Against Wall
    3. if forwardVel >= 16 and m->floor->normal.y >= 0.17364818; Braking
    4. else; Decelerating
  4. if INPUT_A_PRESSED; (todo; see ref) [2]
  5. if INPUT_B_PRESSED;
    1. if forwardVel >= 29 and stickMag > 48; yVel=20; Dive
    2. else; Move Punching
  6. if INPUT_UNKNOWN_5 (aka neutral joystick: https://ukikipedia.net/mediawiki/index.php?title=Turning_Around&oldid=17030); (same code as INPUT_FIRST_PERSON)
  7. if analog_stick_held_back and forwardVel >= 16; Turning Around
  8. if INPUT_Z_PRESSED; Crouch Slide
  9. more code
  10. case GROUND_STEP_LEFT_GROUND; Freefall
  11. case GROUND_STEP_HIT_WALL; push_or_sidle_wall

References