Backflip: Difference between revisions

add into, fix misinformation
(some info on states)
(add into, fix misinformation)
 
(10 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{stub}}
{{Action_infobox
|title= Backflip
|image=
|official name=
|hex= 0x01000883
|flags= Air, Allow Vertical Wind Action
|group= Airborne
|id= 0x083
|into=Airborne cancels: [[Water Plunge]], [[Squished]], [[Vertical Wind]], non cancel: [[Ground Pound]], common air step: [[Feet Stuck In Ground]], [[Hard Backward Ground Kb]], [[Backflip Land]], [[Backwards Air Kb]], [[Air Hit Wall]], [[Soft Bonk]], [[Lava Boost]]
|out of=
|animation= 0x04
|related=
}}
'''Backflips''', also known as '''Backward Somersaults''', are jumps Mario can do that causes him to move upwards and backward. You can perform a backflip by pressing and holding Z and pressing A. Holding forwards during the backflip can cause Mario to have a net forwards movement. The [[Vertical Speed]] (VS) value that a backflip starts with is 62. With all of the vertical speed combined, you can get 512 units up from where you started the backflip.
==Transition In ==
''See [[Single Jump|single jump]] for more details''
#An animation flag is updated: <code>m->marioObj->header.gfx.animInfo.animID = -1;</code>
#Mario's forward velocity is set to -16
# Mario's vertical speed is set to 62
==Behavior==
''Certain things here are more explained on their individual pages. If something lacks detail, check the link for more information.''


'''Backflips''', also known as '''Backward Somersaults''', are a jump Mario can do that causes him to move upwards and backward. You can perform a backflip by pressing and holding Z and pressing A. Holding forwards during the backflip can cause Mario to have a net forwards movement. The [[Vertical Speed]] (VS) value that a backflip starts with is 62. With all of the vertical speed combined, you can get 512 units up from where you started the backflip.
As with all airborne actions, a variety of "cancels" are checked prior to actually performing the jump action. These checks are as follows:
==Aerial States==
 
Out of a backflip, Mario can [[Ground Pound]], but not [[Dive]] or [[Wall Jump]].
# Water - If Mario's height is lower than 100 units below the water height, the action is transitioned into the [[Water Plunge|water plunge]] action.
== C^ Backflip ==
#Squish - If Mario is supposed to be squished, his action is changed to the [[squished]] action.
# Vertical Wind- If Mario is above a vertical wind floor, his action is changed to the [[vertical wind]] action. (This is due to the jump action having the "Allow Vertical Wind Action" flag.)
 
At this point, two more things happen prior to the backflip action:
*Mario's quicksand depth is set to 0.
*Mario plays a falling noise if he has fallen more than 1150 units from his peak.
 
With the backflip action occurring now, the following happens:
#If the Z button is pressed, Mario will enter the [[Ground Pound]] action. This stops the backflip action.
#Mario performs his noise for the backflip.<!--Elaborate on this.-->
#Now, Mario performs the quarter-frame movement via a full [[Movement_Steps#Air_Step|common air step]]. The landing action is a [[Backflip Land|backflip land]] action. Both the check for hanging and ledge grabbing are not present for this step.
#The backflip swoosh sounds are played last.<!--Elaborate on this.-->
 
==C^ Backflip==
The [[C^ Backflip]] trick allows you to backflip facing any direction without having to turn first, saving a few frames in some TASes.
The [[C^ Backflip]] trick allows you to backflip facing any direction without having to turn first, saving a few frames in some TASes.
{{actions}}
188

edits