Pajama Sam: No Need To Hide When It's Dark Outside is a 1996 children's point-and-click adventure game originally released for PC and Mac. The first game of the Pajama Sam franchise, it features the titular character entering the "Land of Darkness" through his closet to capture Darkness himself and recover his superhero gear, which has been scattered throughout the land.
This game was first released on May 31, 1996.
On August 19, 2008, the game was re-released as a Wii game by Majesco Entertainment renamed as Pajama Sam: Don't Fear The Dark.
Source: Wikipedia, "Pajama Sam In: No Need To Hide When It's Dark Outside," available under the CC-BY-SA License.