Video game tie-ins with popular movies are nothing new, but it’s always good to see one that manages to have content in common with the film it’s based upon.

That’s certainly the case with The Book of Life: Sugar Smash, a mobile game that will coincide with the release of the animated film of the same name, which hits theaters on October 17.

The game is a partnership between Fox Digital Entertainment and SGN, the team that released such popular mobile efforts as Cookie Jam and Panda Pop. The puzzle-based gameplay should easily catch on to both casual players and fans of the forthcoming film, and the price should be easy to swallow, since the game will be offered for free, according to Biz Journals.

“The collaboration potential for mobile gaming and Hollywood entertainment is massive. We are thrilled to partner with Fox to develop a new avenue for ‘The Book of Life,’” said SGN founder and CEO (and MySpace founder) Chris DeWolfe. “Additionally, through the appealing gameplay of ‘The Book of Life: Sugar Smash,’ we can expose a new audience to the film, and vice versa.”

Sugar Smash’s” virtual worlds correspond with the film’s fantasy realms with levels varying in difficulty, objectives and challenges. Players can instantly share and complete for high scores and accomplishments on social media.

“SGN has been a great partner in creating an enchanting game that maintains the integrity of the film’s storyline and unique style and tone,” added Rick Phillips, senior vice president of Fox Digital Entertainment. “With this game we are able to broaden the film’s universe, enabling the audience to interact with the story long after they’ve left the theater.”

The two companies will split revenue from the game through in-app purchases, and it will no doubt give the film, produced by Guillermo del Toro, a promotional boost. Not that it needs it, as you’ll be able to spot the tranquil beauty and humorous dialogue featured in the trailer below.