Secret

Revision as of 04:04, 16 April 2022 by Macrepeh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Secret
STROOP- Secret.png
Technical Constants
Object Group Level
Hitbox
Radius 100
Height 100

Locations

Secrets appear in the following levels:


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.