Skip to main content

New website peels back the skin from video games to show you how they work

new website peels back skin video games show work game mechanic explorer
Image used with permission by copyright holder

Modern video games are massive beasts assembled from millions of lines of code. An average AAA production consumes thousands of working hours spread over multiple years. Daunting as they may seem, they have achieved this level of complexity by building on a growing vocabulary of common elements that are generally referred to as “mechanics”: walking, jumping, shooting, and the like.

Web developer John Watson has created the extremely cool Game Mechanic Explorer to help demystify some of video game programming’s basic syntax as a part of his self-guided study in game development. The site uses simple, interactive JavaScript apps to demonstrate various basic game mechanisms such as walking and jumping, bullets, lighting, and following.

Recommended Videos

Each category is broken down into variations with incrementally increasing complexity (such as the addition of acceleration and drag under “Walking and jumping” mechanics) and presented along with the heavily-annotated source code to demonstrate how these simple functions are built up into the seamless simulations we love so much. The technical aspects may be a bit much for the casual visitor, but the collection of interactive examples amounts to a good primer looking at the building blocks of most every video game.

Whether you’re a fellow developer looking to share notes or simply an interested player hoping to sneak a peek behind the curtain, Game Mechanic Explorer is a neat way to appreciate the work and ingenuity that goes into making even the most ostensibly simple games.

Will Fulton
Former Digital Trends Contributor
Will Fulton is a New York-based writer and theater-maker. In 2011 he co-founded mythic theater company AntiMatter Collective…
Summer Game Fest’s show-stealer isn’t the game you’re expecting
An alien structure appears in Cocoon.

There was no shortage of exciting games at this year's Summer Game Fest. Geoff Keighley's annual live stream featured excellent trailers from games like Final Fantasy VII Rebirth and Sonic Superstars. As part of that event, Keighley also hosted a two-day in-person event where press and content creators got to go hands-on with some of the games featured during the showcase and this year's Day of the Devs stream. Digital Trends was on hand for the event, and we demoed a wealth of high-profile games, from Alan Wake 2 to Mortal Kombat 1.

The game that's stuck out most so far, though, perhaps isn't the one you're expecting: Cocoon.

Read more
Here’s how to get Redfall Bite Back Edition for free from Nvidia
A character levitates a book in Redfall.

As part of the Game Developers Conference (GDC), Nvidia is launching a new GPU bundle. Anyone making a new purchase of the RTX 4090, RTX 4080, and RTX 4070 Ti desktop graphics cards, as well as RTX 40-series Nvidia desktops and laptops, will receive a copy of the Redfall Bite Back Edition when it releases on May 2, 2023, for free.

That's not just the base game, which normally retails for $70. It's a deluxe version that includes the game, the Hero Pass with two future characters, and several cosmetics. Nvidia also announced that Redfall will support Deep Learning Super Sampling (DLSS), including Frame Generation on RTX 40-series graphics cards.

Read more
Hogwarts Legacy works better as a TV show than as a video game
A student waving a wand in Hogwarts Legacy.

In its long history as a franchise, Harry Potter's video games have never really been a central part. The novels were hugely popular, as were the feature film adaptations, while the games were on a separate tier for die-hards who couldn't get enough of the world. With Hogwarts Legacy, that paradigm may be about to shift.

The game is certainly the most full-throated effort to launch Harry Potter into the realm of video games, and it seems like it's largely been a success. Hogwarts Legacy has performed well critically, and it seems to be moving a decent number of units as well.

Read more