Gaming

Why game developers can’t get a handle on doors

Views: 344

The best kind of door in a video game is the one no one remembers. Sure, everyone can appreciate a big, beautiful door with great animations, says Owlchemy Labs developer Pete Galbraith. But in a video game, doors are often synonymous with a massive design headache. Forgettable means a developer has done their job well. “If it fits into the environment, makes sense for its context, and works exactly how the player expects, then in that instant it was simply a door as real as any other in the player’s real life,” says Galbraith. “I can’t imagine higher praise for a door in a game.”

Over the past week, dozens of developers across multiple disciplines and teams shared their frustrations on Twitter. Death Trash creator Stephan Hövelbrinks explained that doors “have all sorts of possible bugs.” The Last of Us Part II co-game director Kurt Margenau called it “the thing that took the longest to get right.” How doors work is different during “combat tension,” when players are mid-encounter, vs. not, for example: doors slowly close automatically during combat, but remain open during exploration. “If a player is going to open a door, it can’t just magically fly open, the character has to reach to the doorknob and push it open,” Margenau explained in one tweet. “But what about closing it behind you? How do you do that while sprinting?”

Doors aren’t the only ordinary object developers struggle with. Developers The Verge spoke to point to objects like ropes or mirror. After Half-Life: Alyx’s release, one developer on the project spoke at length about how they managed to make the bottles of booze look so realistic. Designer Liz England points to ladders, elevators, and moving platforms as well. “I think doors themselves tend to get a much bigger reputation for being terrible because they are (1) so much more common in the real world (I use doors every single day!), and (2) are much more common, then, in games, so more people can use it as a touchstone for ‘unexpectedly difficult interactivity,’” England tells The Verge. “I’ve never had to implement a mirror or a rope, but I have had my fair share of doors.”

A door isn’t exactly mankind’s best or even smartest invention in the real world. It’s a comically simple concept — open big rectangle for entry or exit — that in development becomes a team-wide problem. As Crystal Dynamics game director Will Kerslake put it in a message to The Verge, there are “so many issues with doors.” In one example, touching specifically on animation, Kerslake explained that doors can open toward or away from you; handles can be on either side. “If you can engage with that door from different states, like crouch or sprinting, then that’s an additional set of animations,” he says. “A door you pull open, requires you to back up in the real world to step out of the way, that’s another set of issues. In a first-person game you can animate the door and not the player, and this is easier. In a high-fidelity third-person game there is an expectation that the player’s hand will move to the handle.” And the players’ location and angle when they engage with any door can and will vary.

Other problems might involve several players all scrabbling for a door at the same time, or even non-player characters. If a door hits an NPC, does the door stop, or does the NPC move? “The choices here can cause all kinds of bugs depending on your game,” says Kerslake.

It’s not that making doors in a video game is an impossible task. For some developers, it’s just not worth the trouble. “As a result many games avoid doors in gameplay, you’d be surprised at how many games don’t have interactive doors at all,” says Keslake. “Lots of doorways, but the important doors are missing or already open. The next step up in complexity is doors used only as progress gates, they open only and then can’t be closed again.”

Technical points, of which there are many, set aside, how players process the digital representation of a door matters. Everyone knows how a door works and therefore has a subconscious understanding and expectation of how they move, sound, look. The level of accuracy needed for a player to believe the door is a door is higher for a common object than a fantasy one, says Galbraith.

“Our ideas of how we interact with them are incredibly clear due to the cognitive reinforcement we have received from interacting with them so often in a variety of different ways. For doors like the ones in our homes, we subconsciously learn the minute details of how they act, such as the rate at which they close or how much we can move them while they are locked. So when we see a door in a game that closes too fast or without friction or when there’s a locked door where the handle doesn’t jiggle and make a sound we’ll notice that something isn’t quite right about it.”

You can still fib it a little. While most doors only go in one direction, for example, game doors will often swing either way. “When these sorts of virtual doors look, sound, and behave like regular doors, then they hit a level of mental acceptance with the player that allows the player to continue without questioning why every door in the game just so happens to open away from them,” Galbraith says. “To them it’s just a weird coincidence that the brain subconsciously chooses to ignore.”

Doors aren’t just an aesthetic or immersion technique in video games; often they serve as part of level design. They’re gates that keep players from moving on until they’ve finished a puzzle or beaten a boss; they can act as markers for the player’s progress, build tension, or act as cover. “Doors are just one of a variety of tools that a developer can use when designing levels,” Galbraith says. “Many games employ other methods alongside doors to avoid potential issues and even just to help vary the content.”

With one exception: “Unless the door was really tiny and cute, in which case then it’s just a-door-able!”

Apple discontinues the HomePod, but the HomePod mini will live on
Some Bethesda games now on Xbox Game Pass are getting frame rate boosts on Xbox Series X/S

Latest News

Film

Cars

Artificial Intelligence

SpaceX

You May Also Like