1-Up Mushroom: Difference between revisions

Jump to navigation Jump to search
First half
(First half)
Line 24: Line 24:


==Behavior==
==Behavior==
There are several different types of 1-Up Mushrooms. All 1-Ups have their own hitbox interaction which checks for a collision with Mario and grants him an extra life if one is detected.
There are 6 different types of 1-Up Mushrooms. All 1-Up types share certain properties. When a 1-Up collides with Mario, an extra life sound plays, Mario gains an extra life, an the 1-Up deactivates. Additionally, all 1-Ups share the same gravity, friction and buoyancy parameters on spawn. However, the 6 types each have unique behaviors.
===On the Ground===
===Stationary 1-Ups===
1-up mushrooms on the ground stand still, visible. Some 1-ups will launch in a direction if Mario gets close to it.
Stationary 1-Ups, as their name implies, are stationary and do not move at all. They become visible when Mario is within 3000 units of their position, and, like all 1-Ups, will deactivate if collected by Mario. They do not despawn on their own.
===Pole 1-Ups===
Pole 1-Ups are triggered by climbing up to the top of a pole. They start off as invisible and intangible. When the 1-Up is triggered, the 1-Up is made visible and begins moving upward at 40 units/frame. After 17 frames, the 1-Up starts a loop in the air. 20 frames later, the 1-Up becomes tangible and begins following Mario at 10 units/frame.
===Slide 1-Ups===
Slide 1-Ups are those that appear on slides. When Mario gets within 1000 units of the 1-Up, it will begin to slide away from him. While on the ground, sliding 1-Ups will accelerate by 25 units/frame per frame, up to a maximum velocity of 40 units/frame. In the air, sliding 1-Ups decelerate by 2% every frame. If Mario is more than 5000 units away from the sliding 1-Up, it will flicker and disappear after 40 frames.
===Hidden Trigger 1-Ups===


===Spawned 1-Up mushroom===
===Fleeing 1-Up===
Spawned 1-Up mushroom can be spawned in several ways:
*Activating one or multiple [[1-Up Checkpoint|1-Up Checkpoints]]
*Opening a [[Yellow Block]]
*With a [[Butterfly Triplet]]<ref>[https://youtu.be/h8BHEMo-zOM?t=8 "Butterfly Triplets" by UncommentatedPannen]</ref>
*With a [[Monty Mole]]<ref>[https://youtu.be/JKAKfkKbzEU?t=635 "Super Mario 64 100 Lives TAS in 21:19.12" by pastatsh]</ref>


When it spawns, it flies in the air and is intangible for a few moment before becoming collectable.
===Straight 1-Up===


====Non-Following====
====Non-Following====

Navigation menu