Scott Pilgrim vs. the World is a 2010 comedy film co-written, produced and directed by Edgar Wright, based on the graphic novel series Scott Pilgrim by Bryan Lee O'Malley. It stars Michael Cera as musician Scott Pilgrim, who must battle his girlfriend Ramona's seven evil exes, who are coming to kill him. Scott Pilgrim vs. the World was planned as a film after the first volume of the comic was released. Wright became attached to the project and filming began in March 2009 in Toronto. Scott Pilgrim vs. the World premiered after a panel discussion at the San Diego Comic-Con International on July 22, 2010. It received a wide release in North America on August 13, 2010, in 2,818 theaters. The film finished fifth on its first weekend of release with a total of $10.5 million. The film received generally positive reviews from critics, but it failed to recoup its production budget during its release in theaters, grossing $31.5 million in North America and $16 million internationally. The film has fared better on home formats, becoming the top-selling Blu-ray on Amazon.com on its first day of sale, and has gained a cult following.