The game industry was up 13 percent year-over-year in May, generating $685 million from May 2017’s $607 million, according to the industry-tracking firm The NPD Group. The growth is thanks mostly to hardware and accessories, as software sales were down 4 percent.

Software sales may have experienced a dip in May, but PC and consoles sales are expected to grow steadily. PC games, both digital and boxed, are projected to hit $32.3 billion in 2021, increasing with a compound annual growth rate 4.2 percent from 2017. The global games industry as a whole is expected to hit $180.1 billion in 2021, mainly through digital sales, and this data from The NPD Group is a good snapshot showing how gamers are spending on console games, hardware, and accessories throughout the year.

Here are the numbers for May:

Total: $685 million (up 13 percent from $607 million in May 2017)

$685 million (up 13 percent from $607 million in May 2017) Hardware: $186 million (up 26 percent from $147 million)

$186 million (up 26 percent from $147 million) PC and console software: $274 million (down 4 percent from $285 million)

$274 million (down 4 percent from $285 million) Accessories: $225 million (up 30 percent from $174 million)

Here’s how 2018 is comparing so far to 2017 in terms of year-to-date dollar sales:

Total: $4.923 billion (up 15 percent from $4.288 billion in 2017 year to date)

$4.923 billion (up 15 percent from $4.288 billion in 2017 year to date) Hardware: $1.336 billion (up 15 percent from $1.159 billion)

$1.336 billion (up 15 percent from $1.159 billion) PC and console software: $2.166 billion (up 7 percent from $2.028 billion)

$2.166 billion (up 7 percent from $2.028 billion) Accessories: $1.421 billion (up 29 percent from $1.101 billion)

“Dollar sales of console, portable and PC games software combined reached $274 million in May 2018, down 4 percent compared to a year ago,” NPD analyst Mat Piscatella said. “The decline was driven by slate, as the May 2017 release of Injustice 2 proved a difficult market comparable.”

When NetherRealm Studios’ DC Comics fighting game Injustice 2 debuted last year, it leapt to the top on its way to becoming one of the 10 best-selling games of 2017. Even so, last May was also down year-over-year because it couldn’t compete with May 2016, which saw the launches of blockbuster hits like Blizzard’s Overwatch, Id Software’s Doom, and Naughty Dog’s Uncharted 4.

Here’s a look the sales charts. Reminder, these numbers don’t count digital sales from storefronts such as Blizzard’s Battle.net, as those publishers don’t release that information.

Software

State of Decay 2 God of War 2018 Detroit: Become Human Far Cry 5 Donkey Kong Country: Tropical Freeze* Grand Theft Auto V Hyrule Warriors Definitive Ed* Tom Clancy’s Rainbow Six: Siege Mario Kart 8* NBA 2K18 MLB 18: The Show Call of Duty: WWII Super Mario Odyssey* The Legend of Zelda: Breath of the Wild* FIFA 18** Overwatch** Street Fighter 30th Anniversary Collection PlayerUnknown’s Battlegrounds Assassin’s Creed: Origins Monster Hunter: World

*No digital sales included

**No PC digital sales included

Though software sales were down year-over-year last month, Undead Labs’ zombie survival game State of Decay 2 did well for itself. It was May’s best-seller, and it sold almost twice as many copies as its prequel, State of Decay. A little less than a month after its launch, Microsoft announced at the Electronic Entertainment Expo that it had acquired the studio.

Quantic Dream’s cautionary android tale Detroit: Become Human also had a terrific launch, placing third on the top-sellers chart.

“Launch month sales of Detroit: Become Human represent a record high for developer Quantic Dream, with sales growth of over 20 percent when compared to its previous launch month best-seller, Heavy Rain,” said Piscatella.

Detroit’s success contributed to Sony’s bragging rights as the best-selling publisher of the month, along with God of War, which is now the second best-selling game of the year. Though Sony was on top in May, Ubisoft continues its reign as the top-earning publisher year-to-date, and Activision Blizzard has generated the most revenue in the last 12 months.

The Nintendo Switch also has a number of top-selling games in May. Donkey Kong Country: Tropical Freeze and Hyrule Warriors: Definitive Edition both placed in the top 10, even though NPD doesn’t track digital sales from Nintendo’s eShop.

“Nintendo Switch software sales in May generated growth of 90 percent when compared to a year ago, delivering the highest software revenues for any Nintendo platform in May since the Nintendo Wii in May 2011,” said Piscatella.

Xbox One

State of Decay 2 Far Cry 5 PlayerUnknown’s Battlegrounds Grand Theft Auto V Tom Clancy’s Rainbow Six: Siege Call of Duty: WWII Overwatch Sea of Thieves NBA 2K18 FIFA 18

PlayStation 4

God of War 2018 Detroit: Become Human Far Cry 5 MLB 18: The Show Grand Theft Auto V FIFA 18 NBA 2K18 Tom Clancy’s Rainbow Six: Siege Call of Duty: WWII Overwatch

Nintendo Switch (physical only)

Donkey Kong Country: Tropical Freeze Hyrule Warriors Definitive Ed Mario Kart 8 Super Mario Odyssey The Legend of Zelda: Breath of the Wild Splatoon 2 Kirby Star Allies Labo Toy-Con 01 Variety Kit Mario & Rabbids: Kingdom Battle Elder Scrolls V: Skyrim

Nintendo 3DS

Pokemon: Ultra Sun Pokemon: Ultra Moon Shin Megami Tensei: Strange Journey Redux Mario Kart 7 Super Smash Bros. Detective Pikachu Super Mario 3D Land Super Mario Maker Minecraft Mario Party: The Top 100

The best-selling games of 2018 so far

Far Cry 5 God of War 2018 Monster Hunter: World Call of Duty: WWII Dragon Ball: Fighterz Grand Theft Auto V NBA 2K18 MLB 18: The Show Mario Kart 8* PlayerUnknown’s Battlegrounds**

The best-selling games over the last 12 months

Call of Duty: WWII NBA 2K18 Destiny 2** Madden NFL 18 Super Mario Odyssey* Star Wars: Battlefront II** Far Cry 5 Grand Theft Auto V Assassin’s Creed: Origins FIFA 18*

Hardware and accessories

Sony’s PlayStation 4 continued its streak as the best-selling console year-to-date, though the other consoles didn’t do too shabby.

“Sony’s PlayStation 4, Microsoft’s Xbox One and Nintendo Switch all achieved all-time unit sales highs for a May month,” said Piscatella. “Previous highs were May 2016 for PlayStation 4, May 2015 for Xbox One, and May 2017 for Switch.”

Hardware spending was up 26 percent year-over-year, generating $186 million compared to 2017’s $147 million, thanks to the PlayStation 4 and Xbox One. Accessories and game cards were also up 30 percent year-over-year, hitting $225 million versus 2017’s $174 million. People spent more on game cards than ever before, and accessories also generated the most revenue since 2011.

“Year-to-date sales of both headsets and gamepads have achieved all-time record highs. The previous year-to-date high spending for headsets occurred in 2011, gamepads 2016,” said Piscatella. “Sales of headsets/headphones more than doubled in May 2018 when compared to a year ago. Year-to-date, headsets/headphones spending has increased 83 percent.”

The sales for gamepads grew a more modest 16 percent year-over-year and 22 percent year-to-date, and the PlayStation 4 DualShock 4 Wireless Controller in black continues uncontested as the best-selling gamepad in May as well as year-to-date.