Super Mario 64ball

Super Mario 64ball is a 3D platform game developed and published by Nintendo for Nintendo 64. The objective in Super Mario 64ball is simple: collect stars. You can do so by entering levels (via paintings, or hidden throughout the castle) and by beating each star challenge.

the player collects power stars while exploring Princess Peach's castle and must rescue her from Bowser.