Secret: Difference between revisions

418 bytes added ,  16 April 2022
no edit summary
(added infobox)
No edit summary
 
Line 1: Line 1:
{{stub}}
{{object_infobox_2
{{object_infobox
|title= Secret
|title= Secret
|image= STROOP-_Secret.png
|image= STROOP- Secret.png
|hitbox_type= cylinder
|group=Level
|hitbox_radius= 100
|tangibility=
|hitbox_height= 100
|gravity=
|hitbox_down= 0
|friction=
|damage= none
|buoyancy=
|speed= 0
|interaction=
|tangibility_radius= ???
|damage=
|interaction_type= ???
|coin_value=
|surfaces= ???
|radius=100
|found_in= All main [[courses]]
|height=100
|expand=
|hurtbox_radius=
|hurtbox_height=
|offset=
|coins=
}}
}}
'''Secrets''' are invisible objects. When Mario touches one, an orange number appears showing how many secrets have been collected since entering the level, similar to red coins; when 5 are collected, a star is spawned.
'''Secrets''' are invisible objects. When Mario touches one, an orange number appears showing how many secrets have been collected since entering the level, similar to red coins; when 5 are collected, a star is spawned.
[[File:MWttS_Secrets.gif|thumb|Mario Wings to the Sky star being spawned by activating 5 secrets.|left]]
 
==Locations==
Secrets appear in the following levels:
 
*[[Bob-omb Battlefield]]
 
*[[Shifting Sand Land]]
 
*[[Wet-Dry World]]
 
*[[Tiny-Huge Island]]
 
 
==Behavior==
The number of secrets remaining is checked by counting the number of objects with the secret trigger behavior. When Mario collides with a secret, an orange number is spawned 25 units above the secret's location if Mario has collected less than 5 secrets, a sound plays, and the secret is deactivated. When all objects with the behavior have been deactivated, the corresponding star spawns.
{{objects}}