Adam Sandler’s star appears to have dimmed significantly, after “Pixels,” a slice of arcade game nostalgia that recruited the likes of Pac-Man and Donkey Kong to appear alongside the funnyman, opened to a bland $24 million at the domestic box office.

The critically derided comedy finished up just behind Disney and Marvel’s “Ant-Man,” which picked up first place and $24.8 million in its second weekend. That marks the most anemic chart-topping performance since late April when “Furious 7,” then in its fourth week of release, bested all challengers with $17.8 million. So far, “Ant-Man” has earned $106.1 million Stateside.

The weekend box office race unfolded in the shadow of a shocking act of violence after a gunman opened fire during a Thursday night screening of “Trainwreck” in Louisiana, killing two women and injuring nine people before turning the weapon on himself. Safety concerns across the country may have caused some consumers to steer clear of cinemas.

Among the weekend’s other new releases, Fox’s “Paper Towns” picked up $12.5 million from 3,031 locations, while the Weinstein Company’s “Southpaw” snagged $16.5 million from 2,772 theaters. “Paper Towns” missed analysts’ projections. Most estimates had the latest tween romance from “Fault in Our Stars” author John Green debuting to north of $20 million. With a production budget of $12 million, it still stands to be profitable, but the results seemed to puzzle the studio, which thought it had a hit on its hands.

“I’m really somewhat mystified,” said Chris Aronson, domestic distribution chief at Fox. “It’s something we’re going to have to look at and review on a post-mortem basis and find out why we didn’t get more people in.”

“Southpaw,” an uplifting boxing drama with Jake Gyllenhaal, did better than expected, potentially setting the $25 million drama up for a healthy run with those moviegoers who have grown weary of dinosaurs and costumed heroes. The picture attracted a diverse crowd that was 24% Latino, 21% African-American and 60% under the age of 35. The film’s star was front and center, doing interviews on everything from “Fresh Air” to “Sports Center,” and fielding questions about the physical transformation he underwent to believably play a fighter.

“Jake was everywhere, and people responded to him,” said Erik Lomis, the Weinstein Company’s distribution chief.

Lomis predicted a long run for “Southpaw,” noting, “It appeals to the people on a mass level and it’s a very satisfying film.”

In the case of “Pixels,” the Sony release cost $88 million to produce, a budget that is moderate by summer blockbuster standards, and the studio touted its overseas performance. The picture has made more than $25 million at the foreign box office to date, Sony said. In the U.S., the opening weekend crowd was comprised was 62% under the age of 25 and 55% male.

“It’s a world play,” said Rory Bruer, Sony’s worldwide distribution chief. “Adam’s films tend to have high multiples, and I think this will turn out well here, but it will do even more worldwide.”

The opening ranks as another disappointment for Sandler. Four years ago, he was perhaps the most consistent comedian in terms of box office performance, fielding hits like “I Now Pronounce You Chuck and Larry,” “Grown Ups” and “Just Go With It.” More recently, he has struggled mightily — headlining flops and duds like “Blended” and “That’s My Boy.” Only a sequel to “Grown Ups” and “Hotel Transylvania,” an animated film that only featured his voice, have worked. He will now look to salvation in the form of a multipicture deal with Netflix.

“Adam Sandler’s audience is really no longer there theatrically like it once was,” said Jeff Bock, a box office analyst with Exhibitor Relations. “They’re not following him any more…it’s not that Netflix is purgatory, but he probably wouldn’t have made that deal if his films were still doing $100 million or more at the box office.”

It’s also bad news for Sony, which is in eighth place in terms of domestic market share, and was pinning its hopes of fielding a major summer hit on “Pixels.”

Holdovers “Minions” and “Trainwreck” picked up $22.1 million and $17.3 million, pushing their totals to $261.6 million and $61.5 million, respectively. In milestone news, “Jurassic World” has now blown past “Marvel’s The Avengers” on the domestic all-time list, becoming the third biggest film in history, when not adjusted for inflation, with $623.8 million. It earned $6.9 million.

Among arthouse releases, Roadside Attractions’ “Mr. Holmes” broke into the domestic top 10 in its second week, picking up $2.8 million after expanding from 361 theaters to 686 screens. The look at an aging Sherlock Holmes has earned $6.4 million. Also expanding, Woody Allen’s “Irrational Man” picked up $260,902 after moving from five to 28 screens. The murder mystery is being distributed by Sony Pictures Classics and has earned $519,243.

Overall, the domestic box office couldn’t match the year-ago period when “Lucy” and “Hercules” duked it out at the top of charts, falling by roughly 5%.