Mario: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
Most of the code involving updating Mario has to do with [[action]]s (see [[Action#Frame]] for a technical summary). The following are the controls for various movements:
Most of the code involving updating Mario has to do with [[action]]s (see [[Action#Frame]] for a technical summary). The following are the controls for various movements:


{|class="wikitable plainrowheaders"
{|class="wikitable plainrowheaders" style="clear: right; float: right; max-width: 280px; text-align: center;"
|+Controls
|+Key
|-
|-
!rowspan="2"|Action
!rowspan="2"|[[N64]]
!rowspan="2"|[[Nintendo 64]]
!colspan="2"|{{abbr|Wii ([[VC]])|Nintendo 64 version}}
!colspan="2"|{{abbr|Wii ([[Virtual Console]])|Nintendo 64 version}}
|-
|-
!GameCube Controller
!GameCube Controller
!Classic Controller
!Classic Controller
|-
!scope="row"|[[File:N64-Control-Neutral.png]]
|[[File:Gamecube-Control-Neutral.png]]
|[[File:Wii-Classic-Lstick-Neutral.png]]
|-
!scope="row"|{{button|A}}
|[[File:Gamecube-Button-A.png]]
|[[File:Wii-Classic-Button-A.png]]
|-
!scope="row"|{{button|B}}
|[[File:Gamecube-Button-B.png]]
|[[File:Wii-Classic-Button-B.png]]
|-
!scope="row"|{{button|Z}}
|[[File:Gamecube-Button-L.png]]
|[[File:Wii-Classic-Button-L.png]]
|-
!scope="row"|{{button|C^}}
|[[File:Gamecube-Cstick-Up.png]]
|[[File:Wii-Classic-Rstick-Up.png]]
|-
!scope="row"|{{button|Cv}}
|[[File:Gamecube-Cstick-Down.png]]
|[[File:Wii-Classic-Rstick-Down.png]]
|-
!scope="row"|{{button|C<}}
|[[File:Gamecube-Cstick-Left.png]]
|[[File:Wii-Classic-Rstick-Left.png]]
|-
!scope="row"|{{button|C>}}
|[[File:Gamecube-Cstick-Right.png]]
|[[File:Wii-Classic-Rstick-Right.png]]
|-
!scope="row"|{{button|R}}
|[[File:Gamecube-Button-R.png]]
|[[File:Wii-Classic-Button-R.png]]
|-
!scope="row"|{{button|Start}}
|[[File:Gamecube-Button-Start.png]]
|[[File:Wii-Classic-Button-Plus.png]]
|}
{|class="wikitable plainrowheaders"
|+Controls
|-
!Action
!Controls
|-
|-
!scope="row"|Move
!scope="row"|Move
|style="text-align: center;"|[[File:N64-Control-Neutral.png]]
|style="text-align: center;"|[[File:N64-Control-Neutral.png]]
|[[File:Gamecube-Control-Neutral.png]]
|[[File:Wii-Classic-Lstick-Neutral.png]]
|-
|-
|colspan="4"|There are two modes of moving, walking and running. The more the control stick tilts away from the center, the faster Mario moves; the opposite is also true.
|colspan="2"|There are two modes of moving, walking and running. The more the control stick tilts away from the center, the faster Mario moves; the opposite is also true.
|-
|-
!scope="row"|[[Single Jump]]
!scope="row"|[[Single Jump]]
|style="text-align: center;"|{{button|A}} on [[floor]]
|style="text-align: center;"|{{button|A}} on [[floor]]
|[[File:Gamecube-Button-A.png]]
|[[File:Wii-Classic-Button-A.png]]
|-
|-
|colspan="4"|The initial velocity of a single jump is equal to 42 + Horizontal speed / 4.
|colspan="2"|The initial velocity of a single jump is equal to 42 + Horizontal speed / 4.
|-
|-
!scope="row"|Swim
!scope="row"|Swim
|style="text-align: center;"|{{button|A}} in [[water]]
|style="text-align: center;"|{{button|A}} in [[water]]
|[[File:Gamecube-Button-A.png]]
|[[File:Wii-Classic-Button-A.png]]
|-
|-
!scope="row"|[[Double Jump]]
!scope="row"|[[Double Jump]]
|style="text-align: center;"|{{button|A}} → {{button|A}}<br />against floor
|style="text-align: center;"|{{button|A}} → {{button|A}}<br />against floor
|[[File:Gamecube-Button-A.png]] + [[File:Gamecube-Button-A.png]]
|[[File:Wii-Classic-Button-A.png]] + [[File:Wii-Classic-Button-A.png]]
|-
|-
|colspan="4"|After jumping or falling, press {{button|A}} when landing on the floor. The initial velocity of a double jump is equal to 52 + Horizontal speed / 4.
|colspan="2"|After jumping or falling, press {{button|A}} when landing on the floor. The initial velocity of a double jump is equal to 52 + Horizontal speed / 4.
|-
|-
!scope="row"|[[Triple Jump]]
!scope="row"|[[Triple Jump]]
|style="text-align: center;"|[[File:N64-Control-Neutral.png]] + ({{button|A}} → {{button|A}} → {{button|A}})<br />against floor
|style="text-align: center;"|[[File:N64-Control-Neutral.png]] + ({{button|A}} → {{button|A}} → {{button|A}})<br />against floor
|[[File:Gamecube-Control-Neutral.png]] + [[File:Gamecube-Button-A.png]] + [[File:Gamecube-Button-A.png]] + [[File:Gamecube-Button-A.png]]
|[[File:Wii-Classic-Lstick-Neutral.png]] + [[File:Wii-Classic-Button-A.png]] + [[File:Wii-Classic-Button-A.png]] + [[File:Wii-Classic-Button-A.png]]
|-
|-
|colspan="4"|After double jumping, press {{button|A}} when landing on the floor. At least 20 speed is required to triple jump.<br>With the [[Wing Cap]], you don't need to be moving to do a [[Flying Triple Jump|triple jump]], and if you don't cancel it with a ground pound, dive, or landing in the first few frames Mario will start [[flying]].
|colspan="2"|After double jumping, press {{button|A}} when landing on the floor. At least 20 speed is required to triple jump.<br>With the [[Wing Cap]], you don't need to be moving to do a [[Flying Triple Jump|triple jump]], and if you don't cancel it with a ground pound, dive, or landing in the first few frames Mario will start [[flying]].
|-
|-
!scope="row"|[[Wall Kick]]
!scope="row"|[[Wall Kick]]
|style="text-align: center;"|[[File:N64-Control-Neutral.png]] + ({{button|A}} → {{button|A}}<br />against [[wall]])
|style="text-align: center;"|[[File:N64-Control-Neutral.png]] + ({{button|A}} → {{button|A}}<br />against [[wall]])
|[[File:Gamecube-Control-Neutral.png]] + [[File:Gamecube-Button-A.png]]
|[[File:Wii-Classic-Lstick-Neutral.png]]+ [[File:Wii-Classic-Button-A.png]]
|-
|-
|colspan="4"|Mario must jump to a wall and when he touches it, press {{button|A}}. Mario must have at least 16 speed.
|colspan="2"|Mario must jump to a wall and when he touches it, press {{button|A}}. Mario must have at least 16 speed.
|-
|-
!scope="row"|[[Sideflip]]
!scope="row"|[[Sideflip]]
|style="text-align: center;"|[[File:N64-Control-Left.png]] → ([[File:N64-Control-Right.png]] + {{button|A}})
|style="text-align: center;"|[[File:N64-Control-Left.png]] → ([[File:N64-Control-Right.png]] + {{button|A}})
|[[File:Gamecube-Control-Left.png]] + [[File:Gamecube-Control-Right.png]] + [[File:Gamecube-Button-A.png]]
|[[File:Wii-Classic-Lstick-Left.png]] + [[File:Wii-Classic-Lstick-Right.png]] + [[File:Wii-Classic-Button-A.png]]
|-
|-
|colspan="4"|Jump button must be pressed while in the [[turnaround]] action. Mario must have at least 16 speed.
|colspan="2"|Jump button must be pressed while in the [[turnaround]] action. Mario must have at least 16 speed.
|-
|-
!scope="row"|[[Backflip]]
!scope="row"|[[Backflip]]
|style="text-align: center;"|{{button|Z}} + {{button|A}}
|style="text-align: center;"|{{button|Z}} + {{button|A}}
|[[File:Gamecube-Button-L.png]] + [[File:Gamecube-Button-A.png]]
|[[File:Wii-Classic-Button-L.png]] + [[File:Wii-Classic-Button-A.png]]
|-
|-
!scope="row"|[[Long Jump]]
!scope="row"|[[Long Jump]]
|style="text-align: center;"|[[File:N64-Control-Neutral.png]] + {{button|Z}} + {{button|A}}
|style="text-align: center;"|[[File:N64-Control-Neutral.png]] + {{button|Z}} + {{button|A}}
|[[File:Gamecube-Control-Neutral.png]] + [[File:Gamecube-Button-L.png]] + [[File:Gamecube-Button-A.png]]
|[[File:Wii-Classic-Lstick-Neutral.png]] + [[File:Wii-Classic-Button-L.png]] + [[File:Wii-Classic-Button-A.png]]
|-
|-
!scope="row"|Climb up [[ledge]]
!scope="row"|Climb up [[ledge]]
|style="text-align: center;"|{{button|A}} + [[File:N64-Control-Neutral.png]]
|style="text-align: center;"|{{button|A}} + [[File:N64-Control-Neutral.png]]
|[[File:Gamecube-Button-A.png]] + [[File:Gamecube-Button-L.png]]
|[[File:Wii-Classic-Button-A.png]] + [[File:Wii-Classic-Lstick-Neutral.png]]
|-
|-
!scope="row"|Hang onto [[ceiling]]
!scope="row"|Hang onto [[ceiling]]
|style="text-align: center;"|Hold {{button|A}}
|style="text-align: center;"|Hold {{button|A}}
|[[File:Gamecube-Button-A.png]]
|[[File:Wii-Classic-Button-A.png]]
|-
|-
!scope="row"|Grab or dismount [[pole]]
!scope="row"|Grab or dismount [[pole]]
|style="text-align: center;"|{{button|A}}
|style="text-align: center;"|{{button|A}}
|[[File:Gamecube-Button-A.png]]
|[[File:Wii-Classic-Button-A.png]]
|-
|-
!scope="row"|Talk, read
!scope="row"|Talk, read
|style="text-align: center;"|{{button|B}}
|style="text-align: center;"|{{button|B}}
|[[File:Gamecube-Button-B.png]]
|[[File:Wii-Classic-Button-B.png]]
|-
|-
!scope="row"|Scroll text
!scope="row"|Scroll text
|style="text-align: center;"|{{button|A}} or {{button|B}}
|style="text-align: center;"|{{button|A}} or {{button|B}}
|[[File:Gamecube-Button-A.png]] / [[File:Gamecube-Button-B.png]]
|[[File:Wii-Classic-Button-A.png]] / [[File:Wii-Classic-Button-B.png]]
|-
|-
!scope="row"|[[Punch]]
!scope="row"|[[Punch]]
|style="text-align: center;"|{{button|B}}
|style="text-align: center;"|{{button|B}}
|[[File:Gamecube-Button-B.png]]
|[[File:Wii-Classic-Button-B.png]]
|-
|-
!scope="row"|[[Kick]]
!scope="row"|[[Kick]]
|style="text-align: center;"|{{button|B}}
|style="text-align: center;"|{{button|B}}
|[[File:Gamecube-Button-B.png]]
|[[File:Wii-Classic-Button-B.png]]
|-
|-
|colspan="4"|Can be done in a single jump or double jump (see [[Jump Kick]]) when Mario has less than 28 speed.<br>Can also be done on the ground while holding {{button|A}} if Mario's speed is less than 29 or the joystick magnitude is not greater than 48.
|colspan="2"|Can be done in a single jump or double jump (see [[Jump Kick]]) when Mario has less than 28 speed.<br>Can also be done on the ground while holding {{button|A}} if Mario's speed is less than 29 or the joystick magnitude is not greater than 48.
|-
|-
!scope="row"|Throw held object
!scope="row"|Throw held object
|style="text-align: center;"|{{button|B}}
|style="text-align: center;"|{{button|B}}
|[[File:Gamecube-Button-B.png]]
|[[File:Wii-Classic-Button-B.png]]
|-
|-
!scope="row"|Throw [[Bowser]]
!scope="row"|Throw [[Bowser]]
|style="text-align: center;"|Spin [[File:N64-Control-Neutral.png]] → {{button|B}}
|style="text-align: center;"|Spin [[File:N64-Control-Neutral.png]] → {{button|B}}
|[[File:Gamecube-Control-Neutral.png]] + [[File:Gamecube-Button-B.png]] + [[File:Gamecube-Control-Neutral.png]]
|[[File:Wii-Classic-Lstick-Neutral.png]] + [[File:Wii-Classic-Button-B.png]] + [[File:Wii-Classic-Lstick-Neutral.png]]
|-
|-
!scope="row"|[[Dive]]
!scope="row"|[[Dive]]
|style="text-align: center;"|[[File:N64-Control-Neutral.png]] + {{button|B}}
|style="text-align: center;"|[[File:N64-Control-Neutral.png]] + {{button|B}}
|[[File:Gamecube-Control-Neutral.png]] + [[File:Gamecube-Button-B.png]]
|[[File:Wii-Classic-Lstick-Neutral.png]] + [[File:Wii-Classic-Button-B.png]]
|-
|-
|colspan="4"|Doing a dive is the same as doing a kick but Mario has more speed.
|colspan="2"|Doing a dive is the same as doing a kick but Mario has more speed.
|-
|-
!scope="row"|[[Slide Kick]]
!scope="row"|[[Slide Kick]]
|style="text-align: center;"|[[File:N64-Control-Neutral.png]] + {{button|Z}} + {{button|B}}
|style="text-align: center;"|[[File:N64-Control-Neutral.png]] + {{button|Z}} + {{button|B}}
|[[File:Gamecube-Control-Neutral.png]] + [[File:Gamecube-Button-L.png]] + [[File:Gamecube-Button-B.png]]
|[[File:Wii-Classic-Lstick-Neutral.png]] + [[File:Wii-Classic-Button-L.png]] + [[File:Wii-Classic-Button-B.png]]
|-
|-
!scope="row"|[[Sweep Kick]]
!scope="row"|[[Sweep Kick]]
|style="text-align: center;"|{{button|Z}} + {{button|B}}
|style="text-align: center;"|{{button|Z}} + {{button|B}}
|[[File:Gamecube-Button-L.png]] + [[File:Gamecube-Button-B.png]]
|[[File:Wii-Classic-Button-L.png]] + [[File:Wii-Classic-Button-B.png]]
|-
|-
!scope="row"|Duck / [[Crouch]]
!scope="row"|Duck / [[Crouch]]
|style="text-align: center;"|{{button|Z}}
|style="text-align: center;"|{{button|Z}}
|[[File:Gamecube-Button-L.png]]
|[[File:Wii-Classic-Button-L.png]]
|-
|-
!scope="row"|Slide
!scope="row"|Slide
|style="text-align: center;"|[[File:N64-Control-Neutral.png]] + {{button|Z}}
|style="text-align: center;"|[[File:N64-Control-Neutral.png]] + {{button|Z}}
|[[File:Gamecube-Control-Neutral.png]] + [[File:Gamecube-Button-L.png]]
|[[File:Wii-Classic-Lstick-Neutral.png]] + [[File:Wii-Classic-Button-L.png]]
|-
|-
!scope="row"|[[Crawl]]
!scope="row"|[[Crawl]]
|style="text-align: center;"|{{button|Z}} + [[File:N64-Control-Neutral.png]]
|style="text-align: center;"|{{button|Z}} + [[File:N64-Control-Neutral.png]]
|[[File:Gamecube-Button-L.png]] +[[File:Gamecube-Control-Neutral.png]]
|[[File:Wii-Classic-Button-L.png]] + [[File:Wii-Classic-Lstick-Neutral.png]]
|-
|-
!scope="row"|[[Ground Pound]]
!scope="row"|[[Ground Pound]]
|style="text-align: center;"|{{button|Z}} in midair
|style="text-align: center;"|{{button|Z}} in midair
|[[File:Gamecube-Button-L.png]]
|[[File:Wii-Classic-Button-L.png]]
|-
|-
!scope="row"|Rotate camera
!scope="row"|Rotate camera
|style="text-align: center;"|{{button|C<>}}
|style="text-align: center;"|{{button|C<>}}
|[[File:Gamecube-Cstick-Left.png]] / [[File:Gamecube-Cstick-Right.png]]
|[[File:Wii-Classic-Rstick-Left.png]] / [[File:Wii-Classic-Rstick-Right.png]]
|-
|-
!scope="row"|Zoom in, enter first-person view
!scope="row"|Zoom in,<br />enter first-person view
|style="text-align: center;"|{{button|C^}}
|style="text-align: center;"|{{button|C^}}
|[[File:Gamecube-Cstick-Up.png]]
|[[File:Wii-Classic-Rstick-Up.png]]
|-
|-
!scope="row"|Zoom out
!scope="row"|Zoom out
|style="text-align: center;"|{{button|Cv}}
|style="text-align: center;"|{{button|Cv}}
|[[File:Gamecube-Cstick-Down.png]]
|[[File:Wii-Classic-Rstick-Down.png]]
|-
|-
!scope="row"|Switch camera modes
!scope="row"|Switch camera modes
|style="text-align: center;"|{{button|R}}
|style="text-align: center;"|{{button|R}}
|[[File:Gamecube-Button-R.png]]
|[[File:Wii-Classic-Button-R.png]]
|-
|-
!scope="row"|Navigate menu
!scope="row"|Navigate menu
|style="text-align: center;"|[[File:N64-Control-Neutral.png]]
|style="text-align: center;"|[[File:N64-Control-Neutral.png]]
|[[File:Gamecube-Control-Neutral.png]]
|[[File:Wii-Classic-Lstick-Neutral.png]]
|-
|-
!scope="row"|Confirm
!scope="row"|Confirm
|style="text-align: center;"|{{button|A}}
|style="text-align: center;"|{{button|A}}
|[[File:Gamecube-Button-A.png]]
|[[File:Wii-Classic-Button-A.png]]
|-
|-
!scope="row"|Cancel
!scope="row"|Cancel
|style="text-align: center;"|{{button|B}}
|style="text-align: center;"|{{button|B}}
|[[File:Gamecube-Button-B.png]]
|[[File:Wii-Classic-Button-B.png]]
|-
|-
!scope="row"|Display pause menu
!scope="row"|Display pause menu
|style="text-align: center;"|{{button|Start}}
|style="text-align: center;"|{{button|Start}}
|[[File:Gamecube-Button-Start.png]]
|[[File:Wii-Classic-Button-Plus.png]]
|}
|}

Revision as of 12:52, 24 May 2026

Mario
STROOP- Mario.png
Hitbox Info
Hitbox

cylinder with radius of 50 and height of 160, offset down 0 units

Damage none
Damage without hat none
Tangibility radius 1000
Interaction type none
Related
Mario Spawner
Found In
All Courses

Mario is the main protagonist of Super Mario 64, and is the main object that the player controls.

Most of the code involving updating Mario has to do with actions (see Action#Frame for a technical summary). The following are the controls for various movements:

Key
N64 Wii (VC)
GameCube Controller Classic Controller
N64-Control-Neutral.png Gamecube-Control-Neutral.png Wii-Classic-Lstick-Neutral.png
A Gamecube-Button-A.png Wii-Classic-Button-A.png
B Gamecube-Button-B.png Wii-Classic-Button-B.png
Z Gamecube-Button-L.png Wii-Classic-Button-L.png
C▲ Gamecube-Cstick-Up.png Wii-Classic-Rstick-Up.png
C▼ Gamecube-Cstick-Down.png Wii-Classic-Rstick-Down.png
C◀ Gamecube-Cstick-Left.png Wii-Classic-Rstick-Left.png
C▶ Gamecube-Cstick-Right.png Wii-Classic-Rstick-Right.png
R Gamecube-Button-R.png Wii-Classic-Button-R.png
Start Gamecube-Button-Start.png Wii-Classic-Button-Plus.png
Controls
Action Controls
Move N64-Control-Neutral.png
There are two modes of moving, walking and running. The more the control stick tilts away from the center, the faster Mario moves; the opposite is also true.
Single Jump A on floor
The initial velocity of a single jump is equal to 42 + Horizontal speed / 4.
Swim A in water
Double Jump A → A
against floor
After jumping or falling, press A when landing on the floor. The initial velocity of a double jump is equal to 52 + Horizontal speed / 4.
Triple Jump N64-Control-Neutral.png + (A → A → A)
against floor
After double jumping, press A when landing on the floor. At least 20 speed is required to triple jump.
With the Wing Cap, you don't need to be moving to do a triple jump, and if you don't cancel it with a ground pound, dive, or landing in the first few frames Mario will start flying.
Wall Kick N64-Control-Neutral.png + (A → A
against wall)
Mario must jump to a wall and when he touches it, press A. Mario must have at least 16 speed.
Sideflip N64-Control-Left.png → (N64-Control-Right.png + A)
Jump button must be pressed while in the turnaround action. Mario must have at least 16 speed.
Backflip Z + A
Long Jump N64-Control-Neutral.png + Z + A
Climb up ledge A + N64-Control-Neutral.png
Hang onto ceiling Hold A
Grab or dismount pole A
Talk, read B
Scroll text A or B
Punch B
Kick B
Can be done in a single jump or double jump (see Jump Kick) when Mario has less than 28 speed.
Can also be done on the ground while holding A if Mario's speed is less than 29 or the joystick magnitude is not greater than 48.
Throw held object B
Throw Bowser Spin N64-Control-Neutral.png → B
Dive N64-Control-Neutral.png + B
Doing a dive is the same as doing a kick but Mario has more speed.
Slide Kick N64-Control-Neutral.png + Z + B
Sweep Kick Z + B
Duck / Crouch Z
Slide N64-Control-Neutral.png + Z
Crawl Z + N64-Control-Neutral.png
Ground Pound Z in midair
Rotate camera C◀▶
Zoom in,
enter first-person view
C▲
Zoom out C▼
Switch camera modes R
Navigate menu N64-Control-Neutral.png
Confirm A
Cancel B
Display pause menu Start