There are two groups to collect. The standard pets come simply from finishing the game.
The bonus pets are different — you earn shells by playing the virtual tank mode or the bucket minigame, then spend those shells to buy the extra pets. So the sequence is: complete the main game, farm shells, then purchase your way through the bonus roster.