When you think about the most difficult parts of making a game, it's unlikely that the humble door would be front of mind--unless you're a game dev who's attempted doors before. A Twitter thread by indie dev Stephan Hövelbrinks, who is working on Death Trash, revealed that doors are notoriously within game development, with developers on titles like The Last Of Us Part 2 and The Witcher 3 chiming in to agree.
Hövelbrinks explains that the biggest issues arise from doors being "a dynamic funnel and block in the pathfinding, potentially locked, potentially destructible, but in general because they sit potentially between any game interaction or character to character situation from here to there."
Proving his point, locked doors have been the cause of a number of game-breaking bugs, even in high-profile AAA games. Hövelbrinks points out that some AAA devs avoid using doors at all, such as the entire Assassin's Creed series until Valhalla--though even Valhalla's implementation of doors was often glitchy and not too popular with fans.
The Last of Us Part II co-game director Kurt Margenau wrote a Twitter thread on the subject, talking about how difficult it was to design doors that worked with combat, stealth, and still fitted in with the game's realistic animations.
Margenau credits the tricky game physics the doors required to developer Jaros Sinecky, who has already seen acclaim for his work on TLOU2's impressive rope physics. Sinecky also contributed to the incredibly detailed glass-breaking mechanic we investigated last year.
Other developers have chimed in on the subject of doors, with some simply commiserating on how difficult they are, and others explaining how they fixed door-related bugs, or simply got around having to use doors at all.
So next time you're playing a game with doors, take a moment to stop and appreciate how difficult they must have been to implement--especially if they lock and unlock.