1-Up Mushroom: Difference between revisions
(First half) |
|||
Line 24: | Line 24: | ||
==Behavior== | ==Behavior== | ||
There are | 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. | ||
=== | ===Stationary 1-Ups=== | ||
1-up | 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=== | |||
=== | ===Fleeing 1-Up=== | ||
===Straight 1-Up=== | |||
====Non-Following==== | ====Non-Following==== |
Revision as of 03:05, 22 May 2023
1-Up Mushroom | |
Technical Constants | |
Object Group | Level |
Actor Group | Common 1 |
Physical Constants | |
Gravity | 3 |
Friction | 1 |
Buoyancy | 1 |
Hitbox | |
Interaction Type | None |
Radius | 30 |
Height | 30 |
Down Offset | 0 |
1-Up Mushrooms or 1-Ups are objects found in every course. If Mario touches one, he is granted a life.
Behavior
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.
Stationary 1-Ups
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
Fleeing 1-Up
Straight 1-Up
Non-Following
After it spawns, it will just fall on the ground, where it'll slide.
Following
After it spawns, it will then move away from Mario, making it difficult for him to collect it.
The Impossible 1-up
The Impossible 1-up Mushroom is a 1-up in the CCM slide, in the secret tunnel, that goes through a wall before Mario reaches it,[1] but this 1-up can still be collected.[2]