Taking a real city and putting it in a videogame sounds like a great idea. You get all that sense of place, all that rich history to draw on; and every city has its own character, its unique blend of people, politics and culture. Great cities are more distinct to a global audience even than the countries they are situated in. From London and Paris to New York and Hong Kong, these metropolises stand as some of the most significant cultural touchstones for people all over the world.

And yet attempts to put these great edifices into a videogame can often be disappointing. Almost without exception, the best cities in videogames are fictional.

The first set of problems in basing a game in a real world city stem from geography. One example of this is the 2002 game The Getaway, which in spite of its age is perhaps the closest anybody has come to a modern Grand Theft Auto game set in London. (That said, the GTA series did dip into London in 1995’s top-down GTA: London, a dip that has fuelled rumours ever since that the series may one day return).

A screenshot from The Getaway.

The problem The Getaway had, as a GTA style game, was the driving. As a setting for a crime game you can’t really fault London – but you wouldn’t want to drive there. The game captured the absurd traffic congestion and frustrating road layout of the city surprisingly well. Which meant driving wasn’t fun, so neither was the game.

By contrast, the more recent Driver: San Francisco is a game that involves, unsurprisingly, driving in San Francisco. This is perhaps the best example of a game nailing down what makes a city work as a location for the type of play the game is offering. San Francisco is the best city in the world for car chases because it’s got those ludicrously cool hills. And from a game design perspective, everything else is a footnote.

Further problems relate to how a game and its characters treat the city and its people – and it is here that scope exists for a game to become horribly unstuck. Consider 2014’s Watch_Dogs, a game about a vigilante hacker set in Chicago.

A screenshot from Watch_dogs.

Watch_Dogs aimed for a fairly naturalistic tone, painting the city as being full of interesting yet familiar, believable characters. This would be fine, except that your principle methods of interacting with these citizens, in your role as their self-appointed guardian, is to hack into their personal information, rob their bank accounts or kill them with near total impunity. It feels very off.

For this kind of interaction with the general population to be entertaining it requires a completely different tone. This is something that recent GTA games have mastered – that cruel, overt humour, the deep sense of misanthropy and cynicism. There are almost no good people in those worlds, so everybody is fair game. Notably the GTA games all take place (with the exception of the aforementioned GTA: London) in fictional cities which draw from the very worst qualities of their real world counterparts: an evil twin of New York, or an evil twin of Los Angeles.

A game that had a much better angle on how the character interacts with people in a real city is 2012’s Sleeping Dogs. Set in Hong Kong, the game takes its inspiration very much from the movie making tradition there. There are corrupt cops, powerful crime families and a heavy emphasis on using Kung Fu to solve your day to day problems rather than guns.

A screenshot from Sleeping Dogs.

In Sleeping Dogs you played an undercover cop and were discouraged from attacking civilians. You could pick on rival criminals if you wanted to, but the game moved away from the random acts of violence that characterise GTA and Watch_Dogs.

This was an approach also adopted by LA Noire, a 2011 game that also leaned heavily on the cinematic heritage of its location, and which also saw you play a cop – albeit with a heavier emphasis on detective work than on kicking people in the face over and over again. This again is a game that sacrificed the freewheeling fun of random violence in favour of a narrower focus that fit more comfortably with the setting.

By tapping into the culture of these cities, both games are trading on familiar and accepted themes. You don’t play Sleeping Dogs and think Hong Kong is a city with a massive organised crime problem: you play it and think it looks like a fascinating place to visit, and that maybe you should watch Infernal Affairs and Hard Boiled again.

The lesson here is that, if you want to embrace the culture of a city within a game, you have to do so with a degree of affection and respect. If I want to feel a connection to a place in a game, it helps if I’m not being encouraged to brutalise the citizenry and massacre its law enforcement officials for trying to stop me.