Potty humor reaches a new high or low in the happy medium of film with “Captain Underpants,” based on a comic book franchise flushed with pop cultural success.

The animated version of author-illustrator Dav Pilkey’s kiddie series features best bud fourth graders George and Harold — pranksters, underground comics creators and class clowns at Jerome Horwitz Elementary School in Piqua, Ohio — in a battle royal with Mr. Krupp, their nasty principal, who hates kids and strictly prohibits anything resembling fun at school.

'Captain Underpants:The First Epic Movie'

Ratings explained

Advertise with us

Voiced by: Kevin Hart, Thomas Middleditch, Ed Helms, Jordan Peele.

Rating: PG for mild rude humor throughout.

Mr. K. has targeted the two boys — inseparable artist and writer — for separation. But George and Harold (voices of Kevin Hart and Thomas Middleditch) hypnotize Mr. Krupp (Ed Helms) with a cereal box ring, and thereafter — at the snap of their fingers — he becomes Captain Underpants in tighty whities, jockeying for short superstardom as the fruit of this loony-tune loom.

And then there’s Melvin (Jordan Peele), the boys’ nemesis, a mechanical genius and tattletale, who — “like a chair or a supermodel” — has no sense of humor. Melvin’s Turbo Toilet entry at the Invention Convention is co-opted by villainous Professor Poopypants (Nick Kroll), an Einstein look-alike whose resume says he’s a genius inventor “but in the past few years he’s been in a bad place and now calls himself a revenge seeker.” Prof. P’s goal is to rid the world of laughter that his name invariably provokes.

The frantic action is frequently funny, with giant toilet monsters attempting to establish a new excremental world order. Nothing about it is logical — just scatological. Down the line, there’ll be Sir-Stinks-A-Lot and Tippy Tinkletrousers. Here, there’s a whoopee cushion (farted) version of Tchaikovsky’s 1812 Overture. No more surefire way to get a laugh out of kids than flatulence — or, for that matter, out of adults. We need only reference the immortal baked beans campfire scene in Mel Brooks’ “Blazing Saddles.”

Advertise with us

Much of the humor, wordplay and satirical stuff is geared to grown-ups, who provided the bulk of the laughter at the preview: the sign on Principal Krupp’s desk (”Hope Dies Here”), his lust for the lunch lady, the school secretary on perpetual hold for her $1 million robo-phone call, Dr. Poopypants’ “Brain of Zee Average Child” diagram.

The series’ 12 books, translated into 20 languages with 70 million sold worldwide, have been augmented by countless spinoffs and, now, by DreamWorks Animation’s animated feature adaptation deal. Count on the guaranteed sequels.

Censors have targeted the books since the first one in 1997, and subsequent entries such as “Captain Underpants and the Attack of the Talking Toilets” (1999), “The Wrath of the Wicked Wedgie Woman” (2001), and “The Big, Bad Battle of the Bionic Booger Boy: Night of the Nasty Nostril Nuggets” (2003). The American Library Association’s Office of Intellectual Freedom reported Captain Underpants as the series with the most complaints for offensive content in 2012 and 2013 — banned in many schools for inappropriate language and for encouraging children to disobey authority. In 2015, some schools banned the 12th book for its revelation that Harold is gay.

Says the National Coalition Against Censorship: “These popular, silly books are read by parents, with their children, all over the country. The potty humor makes parents roll their eyes and kids giggle.” Censoring them exemplifies “the absurdity of banning books in order to attack perceived moral problems.”

’Twas ever thus.

Advertise with us

“Captain Underpants” on celluloid — or virtual celluloid, these days — will plunge some into gales of juvenile laughter and others into gasps of adult disgust. I suggest you flush all preconceptions and decide to go, or not go, on the basis of your own kids’ sophistication. In all probability, they can handle it.

Post-Gazette film critic emeritus Barry Paris: parispg48@aol.com.