Although metroidvanias are typically platformers, genre isn’t what defines a metroidvania so much as the non-linear progression and upgrades. Also shooter platformers do exist like, say, Metroid.