Backflip: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
mNo edit summary
(add into, fix misinformation)
Line 7: Line 7:
|group= Airborne
|group= Airborne
|id= 0x083
|id= 0x083
|into=
|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=
|out of=
|animation= 0x04  
|animation= 0x04  
Line 13: Line 13:
}}
}}
'''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.
'''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 ==
== Behavior ==
''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.''
''Certain things here are more explained on their individual pages. If something lacks detail, check the link for more information.''


Line 20: Line 24:


# 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.
# 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.
# Squish - If Mario is supposed to be squished, his action is changed to the [[squished]] action.
#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.)
# 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:
At this point, two more things happen prior to the backflip action:
* Mario's quicksand depth is set to 0.
*Mario's quicksand depth is set to 0.
* Mario plays a falling noise if he has fallen more than 1150 units from his peak.
*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:
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.
#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.-->
#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 [[Jump Land|jump land]] action. Both the check for hanging and ledge grabbing are not present for this step.  
#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.-->
#The backflip swoosh sounds are played last.<!--Elaborate on this.-->


== C^ Backflip ==
==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}}
{{actions}}

Revision as of 02:15, 21 January 2024

Backflip
Properties
Hex 0x01000883
Action Flags Air, Allow Vertical Wind Action
Action Group Airborne
ID 0x083
Transitions
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
Other
Animation 0x04

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 for more details

  1. An animation flag is updated: m->marioObj->header.gfx.animInfo.animID = -1;
  2. Mario's forward velocity is set to -16
  3. 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.

As with all airborne actions, a variety of "cancels" are checked prior to actually performing the jump action. These checks are as follows:

  1. Water - If Mario's height is lower than 100 units below the water height, the action is transitioned into the water plunge action.
  2. Squish - If Mario is supposed to be squished, his action is changed to the squished action.
  3. 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:

  1. If the Z button is pressed, Mario will enter the Ground Pound action. This stops the backflip action.
  2. Mario performs his noise for the backflip.
  3. Now, Mario performs the quarter-frame movement via a full common air step. The landing action is a backflip land action. Both the check for hanging and ledge grabbing are not present for this step.
  4. The backflip swoosh sounds are played last.

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.