CORRECTION:
Wiki'd this movie. It appears it isn't Pixar after all.
This is a Walt Disney Animation Studio's production. Odd because Pixar is a subsidary of Walt Disney Pictures. Hrmmm....
Wreck-It Ralph is the nine-foot-tall, 643-pound villain
[5] of the arcade video game
Fix-It Felix Jr., in which the game's titular hero fixes a building that Ralph destroys. For 30 years, Ralph has been doing the same job over and over and has become tired of being the bad guy. Wanting to prove he can be a good guy and not just a villain, Ralph escapes his game through the power cord and lands in
Hero's Duty, a light-gun shooter,
[6] where he helps the game's hero, Sergeant Calhoun, battle against "Cy-Bugs", the game's alien invaders. He later enters
Sugar Rush, a kart racing game set on tracks made of candies, cookies and other sweets. There, Ralph meets Vanellope von Schweetz, one of the game's characters, who has learned that her game is faced with a dire threat that could affect the entire arcade, and one that Ralph may have inadvertently started.
[7]