i just wondered how a dino transformer could be created on a planet that doesn't have dino's.
And you're not alone in wondering that.
The short of it in the game: at some point Shockwave visited or saw prehistoric Earth, and decided Earths Dinosaur forms would make ideal instruments of destruction in his experiments back on Cybertron.
IMO, that's the best explanation for the Dinobots being dinosaurs, ever. I mean, they're supposed to be robots in disguise, and big metal dino's aren't exactly good disguises.