Paramount Pictures and Metro Goldwyn Mayer Pictures and Skydance present ; in association with Hasbro ; a di Bonaventura Pictures production ; produced by Brian Goldner, Erik Howsam, Lorenzo di Bonaventura ; story by Evan Spiliotopoulos ; screenplay by Evan Spiliotopoulos and Joe Shrapnel & Anna Waterhouse ; directed by Robert Schwentke