The story of the game is also identical to the movie. After Marty escapes the zoo to explore for the night, his three friends go after them and they soon find themselves on a ship to the African island of Madagascar.
If you’ve played any sort of 2D platformer of the 8-bit or 16-bit era, you already have a firm grasp on the gameplay of Madagascar. The basic idea is to run, jump and attack your way through cutesy foes, collect some coins along the way, and reach the goal at the end of the level. The main twist on the gameplay is that you can switch between the four Madagascar animals, Alex the Lion, Gloria the Hippo, Melman the Giraffe, and Marty the Zebra, in real-time as you progress through a stage.
Each character, of course, has their own unique abilities. Gloria can swim, Marty can squeeze through tight spaces, Alex can double-jump, and Melman can hide. Each also has a unique way of attacking, ground stomps, kicks, neck-snaps, etc…