Super Mario Galaxy Object Database

Objects | Configs | Occurrences

Config: StarPiece

One of the game's main collectibles that can be collected using any player's pointer or by simply touching it.

Arguments

NameTypeGamesRequired?DescriptionValues
Obj_arg3IntegerBothFalse

Color Frame: The color frame to be used.

  • -1: Random
  • 0: Purple
  • 1: Yellow
  • 2: Green
  • 3: Blue
  • 4: Red
  • 5: White
Obj_arg4IntegerBothFalse

Shadow Type: Specifies the shadow properties.

  • -1: Calculate shadow with gravity direction once
  • 0: Calculate shadow with gravity direction
  • 1: Use no shadow

Switches

NameGamesRequired?Description
SW_AWAKESMG2False

Enables rendering and resumes updates when this switch is active.

Properties

NameGamesDescription
ScoreAttackSMG2

This object scores 10 points in The Chimp's challenges.

MirrorActorBoth

A mirrored version of this object is created for mirror reflection setups if placed inside a MirrorArea.

DemoSimpleCastSMG2

Continues movement during cutscenes, NPC conversations, etc.