Action/Example: Difference between revisions

Jump to navigation Jump to search
Gravity section
(Created page with "{{Action_infobox |title= Example |image= |official name= ((Canon name of action)) |hex= 0x???????? |flags= a, b, c ((Use commas not vertical bars for technical wikisyntax reasons)) |group= Airborne |id= 0x??? |into= ((this action transitions into ??)) |out of= ((?? transitions into this action)) |animation= ((MARIO_ANIM_AMPLE_EX = 0x123 becomes...)) Ample Ex (0x123) |related= (none) }} '''Example''' is an example action that does not actually exist; rather, it is used t...")
 
(Gravity section)
 
Line 79: Line 79:
==Behavior==
==Behavior==
Finally, we have the actual behavior, the references, and the <nowiki>{{actions}}</nowiki> template.
Finally, we have the actual behavior, the references, and the <nowiki>{{actions}}</nowiki> template.
# If Mario is below y = 10, set y to 1000
# <code>perform_air_step(m, 1)</code>
# [[Triple Jump]]
== Gravity ==
When doing <code>perform_air_step</code>, different actions have different gravity. For example:
Falling speed accelerates by 3.14, with minimum y = -75


==References==
==References==
<references />
<references />
{{actions}}
{{actions}}
269

edits

Navigation menu