<Li> Mike Mitchell as Andy "Jack" Beanstalk </Li> <P> The film had been in development since 2004, when Shrek 2 was released . As a Shrek 2 spin - off, it was initially planned for release in 2008 as a direct - to - video film, then titled Puss in Boots: The Story of an Ogre Killer . By October 2006, the film was re-slated as a theatrical release due to market conditions, and due to DreamWorks Animation's realization that the Puss character deserved more . </P> <P> In September 2010, Guillermo del Toro signed on as executive producer . Discussing del Toro, Miller stated: "We worked out a system for him to come in once every few months or whenever we had something new to show him . If we needed someone to bounce ideas off of, he was always there, and if we had a problem we were tackling, we'd get Guillermo on the red phone--our emergency phone--and ask him advice on what we should do with a certain character or scene . It was like having our own film school ." Miller stated that del Toro was particularly involved in Humpty's character design . "Guillermo loved the dreamy quality of Humpty Dumpty . He suggested we push that further, make him more like da Vinci ." It was del Toro's idea to make Humpty "an ingenious freak of nature" who builds contraptions such as a flying machine . Del Toro rewrote the ending to redeem the character and deepen his relationship with Puss--an unconventional conclusion for a children's film . He helped design the fantasy elements of the giant's castle, as well as the architecture of the town, which he conceived as "an amalgam of Spain and Mexico". </P> <P> Except for Puss, the film features new characters . Citing the co-writer, David H. Steinberg, "It doesn't overlap with Shrek at all . Partly that was done to tell an original Puss story, but partly because we didn't know what Shrek 4 were going to do with the characters and we couldn't write conflicting storylines ." The film was teased in Shrek Forever After, when Shrek finally shuts the book titled "Shrek", and puts it away next to a book titled "Puss in Boots". </P>

Where does puss in boots movie take place