Originally as Dr. Ivo Robotnik in till 1999 , Dr. Eggman is the atagonist in nearly all Sonic the Hedgehog games.