The game had robots that looked like transporters (cars) with mechanical bodies on them. The figures moved up and down as you know it. It was a strategy game where you had to destroy the enemy base. The robots I think were red and green.
I played the game on the Nintendo DS module. Must be relatively old, as it was bought from the flea market.
Do you think Transformer? From the Marvel collection?