Showing posts with label narrative. Show all posts
Showing posts with label narrative. Show all posts

Monday, 14 January 2019

Thoughts on Detroit: Become Human

By Thomas Grip

Quantic Dream learns with each game, and adresses their issues with new features. But with new features come new issues, and lots of juicy design lessons. In this blog post I will talk at length about affordance, then touch upon branching and themes.

Intro

It has been a while since my last design blog, and I felt it was finally time to write one again. And since I just played through Detroit: Become Human, that’s what I decided to write about.

First off, let me say that I quite liked the game. I had issues with how they tackled some of the themes (especially in regards to robots), and felt they could have taken some aspects of the world they created more seriously.

What made up for the so-so narrative bits were the production value (such as some very cool environments), and the myriad of exciting scenarios. It’s not an easy feat to create scenes that are not just narratively compelling, but also engaging play-wise – especially not in the sort of story that Detroit tells.


On top of this, the branching and the choice possibilities in Detroit are insane. It is a lengthy game, taking well over 10 hours to complete, and yet as the story unfolds there is a constant stream of differences that all depend on your previous choices. Everything to how crime scenes change to how characters make remarks depending on how you played some previous scene is amazingly well done. The scenes are constantly constructed from a wide array of options, but everything flows together into a coherent whole. Other branching games, such as Hidden Agenda, have a much more jarring presentation where the inserted lines and cuts in the flow are obvious. In Detroit, flow flaws are basically nonexistent.

So, it is fair to say that production-wise Detroit is quite a achievement. However, the game starts to stumble as it tries to be just that – a game.

Just like with previous titles from Quantic Dream, Detroit tries to be what is essentially a playable movie. Mixing film and games gives rise to all sorts of interesting design decisions and issues – issues that are hard to see in other games. It is clear that Quantic Dream are aware of the flaws they have had in their previous games, and there are a bunch of new feature that try to address the issues.

But with new features come new issues, and lots of juicy design lessons. In this blog post I will talk at length about affordance, then touch upon branching and themes.


Affordance

The first topic of this blog is how Detroit: Become Human handles affordance. The game takes place in one of the most challenging environments there is design-wise: inhabited real-life spaces. Spaces that contain a bunch of everyday items, such as drawers, pictures, tools, televisions, coffee cups, keyboards, clothes and so on and so forth. These are all objects we are not just accustomed to interact with – we also have expectations of their usage. As a player, you need to be able to figure out what objects you can interact with and in doing so you are constantly battling your ingrained notion of how these objects ought to work.


In Heavy Rain (2010), Quantic Dream’s earlier game, the only way to figure what you can and cannot interact with is to carefully check your surroundings and see if an interaction icon pops up. There are some objects that signal pretty clearly that you can interact with them, such as a corpse at a crime scene that you are able to examine. A design goal for a game should be to be able to use your intuition to figure out what sort of items you ought to be able to interact with – but the Heavy Rain never lets you train that intuition. Obvious objects are more an exception than a rule, and thus the player’s optimal strategy ends up being doing a brute force search of the room to try and locate all the hotspots.

So why is this bad?

There are two main issues with not being to identify points interaction. The first one is that it lessens the game’s sense of immersion. The second is that it doesn’t allow you to properly “play” the game. Detroit has some tricks up its sleeve to reduce both of these, but before we get into that it is worth to discuss just what is so problematic with these issues.

Immersion

Let us first go over the issue of immersion.

In order for a player to feel immersed in an environment, they need to internalize the surroundings. This is something I have covered in other posts, but basically it means that players need to actively take a part in the fantasy. And in order for a player to feel present inside a virtual world, they need to have what is called internal representation.

While it may not seem like it, real life also operates on internal representation. You don’t simply “see a chair”. The act of seeing a chair triggers all sorts of data about chairs: what their physical properties are, what you can do with them, what are your available actions and so forth. All of these combine into the actual sensation that there is a chair in front of you.

Here comes the issue. If you play a game where looking at a chair lacks any situational data, the player’s mental representation is empty. They fail to build any vivid fantasy for the virtual scene that the game tries to build. In turn the player is unable to place themselves, as in their actual selves, inside the game world. When games fail to take this into account it results in a world that doesn’t feel very immersive.

Play

Secondly, the gameplay issue with affordances is that the player lacks the ability to plan. I have gone over player planning and why it is so important for good gameplay in a previous post, but let’s do a quick recap: we don’t play games by just reacting to stimuli that the games send our way – instead, most of the gameplay takes place inside our heads. We survey our environments, go over long- and short-term goals, and decide what set of actions are the most optimal to reach said goals. The longer and more accurate plans a game allows the player to make, the better it will feel to play.

As a clear example, let’s compare a moment playing Dragon’s Lair (1983) to a moment in Civilization (1991). Civilization is filled with possibilities and room for planning. Dragon’s Lair on the other hand is just a linear path where you can only get good by memorizing a specific sequence. This is not the most fair example, but should illustrate the primal differences.


Games like Heavy Rain and Detroit, as well as classic adventure games, rely on putting the player in a real-life situation and making that the core of planning one’s actions. Taken at face value, it’s somewhat easy to understand what your options are when trying to find shelter for the night, because it is all based around elements that we know from real life. It’s much harder to know what to do during a laser-wielding vampire bat robot attack.

The issue is that the real world is incredibly complex, and a game cannot possibly recreate all the alternatives that a person could think of. This means that even though you might intuitively make up a certain plan, you can’t be sure whether the game will actually support it or not.

Solutions?

The main trick of Detroit, and Heavy Rain before it, is to simply make each scene feel like a movie scene. It gives the player a feeling for how the scene ought to evolve next, and how the character(s) ought to react. So the player gains their affordances not from how they view the scene, but how they imagine the characters (and to some extend the director) doing it. On top of that, the very cinematic structure pushes a narrative that makes up for the lack of immersion.

The player’s feelings here depend a lot on how they play the game. If they play as if they are the protagonist, these problems can become quite severe. It is a lot less damaging if the player views their role as a director. Then they are distancing themselves from the game and viewing the whole experience differently. Most of the discussions I bring up in this post are mainly centered around the former playstyle where you actively take on the role of a certain character.

Therefore, imagining yourself as the character in Quantic Dream games doesn’t really hold up – especially when the player is supposed to have a more lengthy interaction. In Heavy Rain it is easy to fall into optimizing behaviour and do brute force search to see what you can interact with. This sort of searching turns what is supposed to be a realistic environment into an abstract play field. Heavy Rain also has real trouble giving you a sense of your options. So, most of the game is played based on moment-to-moment reactions rather than deliberate planning. More Dragon’s Lair than Civilization.

It is clear that Quantic Dream know about these issues, as Detroit does quite a lot of things to try and fix this. The two major ones are explicit hotspots, and quest lists. The hotspots that pop up make it feel like a “batman mode”, where the time stops and the environment gets a line-mesh overlay. When in this mode, all nearby possible interactions display glowing icons. On top of this, all of the character’s short term goals are displayed as well, including those that haven’t been unlocked yet. Detroit also shows various goals, and even characters’ feelings, as big in-world text throughout the game. This gives the player a better idea of what they are supposed to do, and what are the available tools to achieve their goals.

Problems

The problem is that these new features don’t really try to fix the underlying problems of affordance. They are more like crutches, propping a flawed system. In a perfect world, these systems should be used as a sort of tutorial for the player. Once they get a better sense of how the game works, they should be able to stop relying on them, and instead rely on their intuitive understanding.

What happens instead is the opposite. The further you get into Detroit, the more prone you get to use these systems. In my playthrough of Detroit I used the “batman mode” quite sparingly for the first few hours – but as time went on I used it more, to the point where I almost stopped trying to intuitively parse the environment at all. Why? Because if I didn’t use it, I was more likely to miss hotspots and tasks, and therefore not get everything I wanted from the scene.

In the end, this style of play actually made me plan more. But all of this planning was happening in an abstract realm. I was playing a game of “choose from explicit options given to me by the game’s designer”, rather than actually making decisions based on the world that was presented to me. This often lead to weird situations where I did tasks that I didn’t know existed (eg. go look for a bag I didn’t even know was there).


Worse still, it made me act less like the characters I was supposed to be playing as. Detroit features a fair bit of detailed crime scenes that I was supposed to search, but because of the crutches I never tried to analyze the scenes as an actual detective. Instead I was simply searching for abstract hotspots. To make matters worse, the game often told me just how many hotspots there were to find, making me feel and thing even less like a detective.

The important takeaway here is just how important it is to find a way to create a game that actually makes the player engage in the game as it is. Detroit is not the only game that uses this kind of crutch, it’s quite common. And it is not always bad, either. For instance in Metal Gear Solid you have exclamation points pop up over soldiers’ heads when they spot you. However, they key difference here is that it adds information to the scene that is already in front of you. There are actual character models, sounds and so forth that play into the scene.

When you try to design crutches, you need to make sure that they supply something extra to the fantasy. They shouldn’t act as a substitute for the game’s actual world.

The magic of narrative

It might seem like I didn’t like the gameplay in Detroit – but the fact is that I found it quite engaging. I think this is really interesting. Despite all of the apparent flaws in the system, it still felt like I was part of the narrative. This was especially true for the detective work. The same was also true in the 2018 Call of Cthulhu game. There the detective scenes were even more simplistic, almost like playing a basic “hidden object” game, and yet I found them strangely compelling.

How is this possible? I think a lot of this is in line with the 4-layer approach that I’ve written about before. The foundational thinking with the 4-layer approach is that when you put any gameplay in the context of story, doing that gameplay feels like playing a story. Detroit does a lot of things right when creating this sort of merger between systems and narrative.

First of all, Detroit is very good at setting up the context. A scene always starts with some sort of cutscene (“cutscene” feeling like a weird word in an interactive film game, but working as a distinction in this context), that lays out the story reasons as to why you are doing the investigation. So when you are essentially searching for hotspots, the whole setup makes it feel as if you are doing detective work, even if you are not mentally embracing the detective role.


Secondly, when you find a hotspot, you always get information that has something to do with the narrative. The actual value of the information varies a lot: sometimes it’s useful and sometimes it’s just techno babble. But in all cases it feels like narrative feedback. When this is combined with the explicit – and very gamey – feedback that says you just found one of the three clues, it feels more like progressing a case than fulfilling abstract game requirements.

Finally, when you manage to find all the clues, the abstract (game-y) accomplishment always comes with some sort of narrative reward. For instance when searching a corpse, you get to view a reconstruction of what happened to this person. In many other cases you may unlock a new dialog option. And in every case you feel like completing the tasks makes you progress the narrative. So, even though the gameplay is abstracted, you still feel like you are inside a story.

The power of holism

On the surface all of this feels a bit like cheating. But I think that’s the wrong way to look at it. Instead it’s something to be embraced.

In fact, on our journey to progress the storytelling potential of games as a medium, I am of the position that trying to do it without any form of “cheating” is a dead end. All entertainment is based on fooling your audience. Illusion is an essential part of the craft. The trick is just to cheat in such a way that it goes unnoticed.

What feeds into this illusion is the fact that humans tend to be bad at understanding why they’re feeling something. As an example: one tends to find a potential partner more attractive when drinking something hot while around the person. That is because hot drinks activate responses similar to arousal, eg. increasing the blood flow. The brain just tends to attribute these responses not to coffee, but to the potential partner, tricking you into thinking you are feeling aroused.

In a similar manner, when you feel accomplished for finding one of the three abstract hotspots, that feeling gets entwined with the detective narrative. These two parts get mixed into a single whole, and that whole becomes a compelling experience. It is worth to note that both sides can help the other. The narrative makes simple gameplay feel exciting, and the feedback on the other hand can make flawed narrative feel compelling. It is larger than the sum of its parts in the purest sense.

You can get an especially good sense of how this two-way feedback works when the system starts breaking down. I find that this can happen quite a lot in Detroit’s action sequences. There the narrative stops being the focal point, there are less narrative rewards upon success, and the input gets less clear (as it is merely about split second reactions). As long as the goals and actions are easily identifiable, eg. hiding and closing a door, the narrative-system symbiosis remains in place. But once it turns into blocking and returning punches, the player (or at least I) get distanced from the action. It becomes more of an abstract challenge than a piece of interactive storytelling.


So in a way, the increased abstraction actually works for Detroit’s benefit. By showing some numbers going up, and clear objective pointers, the game manages to add a more concrete feedback loop. As explained above, it also comes with issues, but also gives the game more opportunities for narrative-system symbiosis.

Detroit uses the symbiosis to simulate all sorts of situations, often with quite pleasing results. What stood out for me was an interrogation scene with a stressed-out android, and a scene where I had to make sure a police officer didn’t become too suspicious of my character. The success of those scenes came from mixing simple, gamey systems together with narrative in a holistic manner.

If you want to dig deeper into various ways to achieve this sort of merging of elements, Detroit is an excellent case study. Since the scenes featured are quite diverse, the ways of combining systems an narrative vary, and the results vary along with that.

Improvements?

While there are many interesting aspects about the game, it does have lot of room for improvement. I want to discuss that a bit.

Detroit relies heavily on increased abstractions (such as the aforementioned hotspots and objectives), and I don’t think that’s the right way. I find it better to try and achieve the same kind of affordance by using a story-like world. It is not the abstraction per se that allows to combine systems and narrative, but the player’s understanding of cause and effect.

Using abstractions also comes with a lot of issues. In my opinion, the biggest issue is the negative effect on immersion. If the world the player navigates is just filled with simple, systems-specific abstractions, the player can never transport themselves into the world.

At best, the actual rendered world (environments, characters etc.) just becomes narrative background. Instead as a designer, you want the world’s elements to be what the player uses in order to be an active part of the game. The aim should be for the player to gaze at a rendered scene, and have a mental model of all the interaction points and how these can be used for various plans, as I have written earlier.

Just compare a scene from Detroit…


...to a scene in Super Mario Bros.


In Detroit, I am not sure what things I can interact with, nor how they would affect me. From just looking at the world as-is, it is impossible to make any sort of concrete action plan. On the other hand Mario is very accessible, at least to anyone who has ever played the game. You can easily see every object, imagine how you can interact with it, and plan your progress accordingly.

The sort of readability that a Super Mario game has is what you want as a game designer. The thing to learn from Detroit is that you don’t need incredibly complex actions in scenes to create an engaging narrative. In fact, the actual gameplay can be simple and “dull” – as long as you are able to combine it with a narrative. However, there would be a huge difference if the interactions you partake in are grounded in the game’s world, instead of just being abstractions.

There are obviously other things to improve, especially the player’s ability to plan. But as a first step, I think having Super Mario level of affordance in the game’s world would be a huge improvement.


Branching

Now before I end this article, there are two more topics I want to cover. The first of these is branching.

Before making Detroit: Become Human, Quantic Dream made Beyond: Two Souls (2013). This game took a slightly different approach to the idea of a game as an interactive movie – especially when it came to branching. The game’s story had a ton of different ways to play out, but as recounted in this article by Press X to Story, it went mostly unnoticed by players.

It feels like Quantic Dream really reacted to this because damn, they are now really pushing the branching angle. There is a node tree at the end of each scene, there’s visual cues when conversation subjects unlock, there are lists of things you could do, the latter scenes obviously change, and so on.

And it really does feel like the open story and the branching matters. Especially interesting are the node maps. In the maps, all the choices you could have made are laid out, but the ones you didn’t make in your current or previous game are blanked out. At first I really didn’t like it, but the more I played the more it grew on me. It seems like it had a certain ad-hoc effect, and I can still sort of feel it. Remembering a scene often feels cooler than actually playing it. To me, the Detroit showing you potential paths I could have taken make my choices seem more compelling, when viewed in retrospect.


This might feel a bit like a cheat. But as discussed before, cheating is how entertainment works. Still, a part of me wonders if Detroit could have handled it in a more subtle way. Sometimes it felt like too much to get all the possible courses of events shoved in my face. I would have liked it if the would have treated the overall branching as it did the special dialog and changes in scenes. But at the same time, I wonder if that would have given across the feeling that the story was indeed open-ended and had tons of options – as Beyond: Two Souls failed to convey.

The best way to get away from the trap of being overly explicit is to, as explained above, up the level of affordance. In a perfect scenario, the player should know about the ways the scene could have gone simply by having mentally analyzed the scene. For instance, Civilization doesn’t need a node map at the end of a round for the player to know that there are many other ways things could have gone. This is not the most fair comparison, as I don’t think it’s possible to make a storytelling game that is as systemically driven. But it does give you a sense of what sort of feeling games could strive for.


Themes

Given that Detroit deals with a few themes similar to SOMA, it feels like I need to say something about Detroit’s themes to close this off. It would be too much to go over all aspects of the game, so I will just focus on one: robot and human similarities.

I think the game would have been a lot more thematically interesting if the robots didn’t look so human. Instead I think it would have been much better if they looked like the robots from the movie I, Robot (2004), or perhaps something out of the Boston Dynamics lab.


Right now it’s just too easy to sympathise with the robots. It would be much more fun if the player started the game thinking the robots did not deserve any rights, and the thinking would evolve throughout the game.

The robots’ thinking is also too human. Again, it would be much cooler if they felt more alien in how they handled their emotions and so forth. There is actually less neurodiversity between humans and robots in Detroit than there is among real humans overall.

For example, right now it doesn’t make much sense for a player to want for Connor to stay an obedient robot. The story pretty clearly pushes the player to want Connor to become a deviant (a robot free from human masters). If the Connor had looked a bit more spooky, or had weirder ways of thinking, it would have made the choice less obvious and forced me to think more about my alternatives.

It would also seem weird that people would want to buy servants that look so human. People can already feel bad for a Roomba, let alone something that looks like a fellow human. It would make more sense for the robots to actually look like robots.

I know that Quantic Dream wanted to show off their facial animation tech, and make sure it was easy to relate to the protagonists. But the point stands: a version of Detroit with robots that are clearly not human would be damn interesting to play.


Thursday, 22 February 2018

Q&A with Frictional writer Ian Thomas

On the last day of the cold January Will from Extra Credits sat down to stream SOMA, and for the first few hours of the game he was joined by his friend and Frictional employee Ian Thomas. Ian worked on scripting, coding, and level design for SOMA, and is now the Story Lead on one of Frictional’s two upcoming projects. During the stream he answered some questions from the viewers, ranging from what type of pizza he thinks Simon had in his fridge, to ways of minimising dissonance between the player and the character in a narrative game.

In this blog we’ve compiled the best questions and answers into an easily readable form. So go get a beverage of your choice and dive into the everyday life at Frictional, narrative game design and tips on networking in the industry! Or, if you’re not the reading type, you can also watch the whole video on Twitch.

Have some other questions? Hit us up on Twitter and we will try to answer the best we can!

(Picture commentary from your favourite community manager/editor of this blog, Kira.)



Q: Does the Frictional team scare each other at the office?

We didn’t have an office until recently, and even now most people are still remote, so not really!

The thing about being behind the scenes in horror is that it’s very difficult to scare yourself, and each other, because you know what’s going on. We do play each others’ levels every other week, and it’s always brilliant to get a decent scare out of a coworker.

Otherwise we don’t hide in the office cupboards or anything like that… regularly.


Q: Is it true that developers don’t actually play their games?

No - we play our games thousands of times, and most developers do!

It does depend on where you sit in the development chain. If you work for a very big company and only do something like facial models, you might rarely play the game until it’s close to completion. But in a team the size of Frictional everyone plays the game all the time. That’s how we get our primary feedback and develop our levels before the game goes anywhere near alpha testers.


Q: How about after they’re released?

Probably not that often. For me personally there are two reasons, which both have to do with time. Firstly, I’m probably already working on a new thing. Secondly, during the short downtime after a release I’m trying to catch up on games I had to put aside during development. But it depends: for example, when I worked on LEGO games I would later play them with friends, because they’re so much fun to sit down and co-op play.

For a couple of years after the release you might be fed up with your game and not want to see it, but then you might come back to it fresh. With SOMA I sometimes tune into livestreams, especially if I’m feeling down. That’s one of the kicks you get out of this stuff – knowing which parts of the game people are going to react to, and getting to watch those reactions! That’s the best payoff.


Q: Did the existential dread of SOMA ever get to the team?

It’s a little different for the dev team, as the horror is a slow burn of months and months, whereas for the players it comes in a short burst. The philosophical questions affected people in different ways, but I don’t think we broke anyone. As far as I know we’re all fine, but given that a lot of us work remotely, it could well be that one of us is deep in Northern Sweden inscribing magical circles in his front room and we just don’t know...


Q: Why did SOMA get a Safe Mode?

SOMA was originally released with monsters that could kill you, and that put off some people that were attracted to the themes, the sci-fi and the philosophy, because they saw the game as too scary or too difficult. Thomas and Jens had discussed a possible safe mode early on, but weren’t sure it would work. However, after the game came out, someone in the community released the Wuss Mod that removed the monsters, and that and the general interest in the themes of the game made us rethink. So now we’ve released the official Safe Mode, where the monsters still attack you, but only if you provoke them – and even then they won’t kill you.

You can now avoid one of these three death screens!

The concept of death in games is a strange one. All it really means is that you go back to a checkpoint, or reload, and all the tension that’s built up goes away. The fact is that game death is pretty dull. It becomes much more interesting when it’s a part of a mechanic or of the story. We at Frictional have talked about it internally for a while, but it’s something we’ve never really gotten a satisfactory answer to.

So, all in all, even if you turn on Safe Mode, it’s not that much different from playing the game normally.


Q: What type of pizza does Simon have in his fridge?

Meat lovers’, definitely.

Schrödinger's pizza! And a Mexicana. Unless they mixed it up at the factory. In which case it's also a Schrödinger's pizza.


Q: What was the funniest or hardest bug to fix in SOMA?

There were so many! You can find some of the stuff in the supersecret.rar file that comes with the installation.

I spent a lot of time fixing David Munshi. His animation really didn’t behave and he kept leaping around the place. He was so problematic, especially in this sequence where he was supposed to sit down in a chair and type away at the keyboard. We had so much trouble with that - what if the player had moved the chair? We couldn’t lock it in place, because we want the player to be able to mess with these things. We went around trying to come up with an answer for ages.

And then someone on the team went: “Standing desk!”. Problem solved! It’s silly little things like this which tie up your time.

For all you thirsty Munshi lovers out there. You know who you are.

Another similar element was the Omnitool. It was a fairly major design thing that we came up with to connect the game characters, and to gate scenarios. We were struggling trying to tie these things together, and then it was just one of those days when someone came up with one single idea that solved so many problems. It was a massive design triumph – even if we realised later that the name was a bit Mass Effect!


Q: Why does using items and elements in Frictional’s games mimic real movements?

This is one of Thomas’s core design principles: making actions like opening doors and turning cranks feel like physical actions. It binds you more closely into the game and the character, on an unconscious level. We’ve spent an awful lot of time thinking about ways to collapse the player and the character into one and make the player feel like a part of the world. It’s a subtle way of feedback that you don’t really think about, but it makes you feel like you’re “there”.

There’s an interesting difference between horror games and horror films in this sense. You would think that horror movies are scarier because you’re dragged into the action that moves on rails and there’s nothing you can do about it. But for me that kind of horror is actually less scary than the kind in games, where you have to be the person to push the stick forward.

We try to implement this feedback loop in other elements of the game too, like the sound design. When a character is scared it makes their heartbeat go up, which makes the player scared, which makes their heartbeat go up in turn, and so on.


Q: Why didn’t SOMA reuse enemies?

It obviously would have been much cheaper to reuse the monsters. But in SOMA it was a clear design point, since each of the enemies in SOMA was trying to advance the plot, get across a particular point in the story, or raise a philosophical question. Thus, the enemies were appropriate to a particular space or a piece of plot and it didn’t make sense to reuse them.


Q: Did SOMA start with a finished story, or did it change during development?

The story changed massively over the years. I came on to the game a couple of years into development, and at that time there were lots of fixed points and a general path, but still a lot changed around that.  As the game developed, things got cut, they got reorganized, locations changed purpose, and some things just didn’t work out.

Building a narrative game is an ever-changing process. With something like a platformer you can build one level, test the mechanics, then build a hundred more similar levels iterating on and expanding those core mechanics. Whereas in a game like this you might build one level in isolation, but that means you don’t know what the character is feeling based on what they’ve previously experienced.

You don’t really know if the story is going to work until you put several chapters together. That’s why it’s also very difficult to test until most of it is in place. Then it might suddenly not work, so you have to change, drop and add things. There’s quite a lot of reworking in narrative games, just to make sure you get the feel right and that the story makes sense. You’ve probably heard the term “kill your darlings” – and that’s exactly what we had to do.

A lot of the things were taken out before they were anywhere near complete – they were works in progress that were never polished. Thus these elements are not really “cut content”, just rough concepts.


Q: The term “cut content” comes from film, and building a game is closer to architecture or sculpting. Would there be a better name for it?

A pile of leftover bricks in the corner!


Q: How do you construct narrative horror?

Thomas is constantly writing about how the player isn’t playing the actual game, but a mental model they have constructed in their head. A lot of our work goes into trying to create that model in their head and not to break it.

A central idea in our storytelling is that there’s more going on than the player is seeing. As a writer you need to leave gaps and leave out pieces, and let the player make their own mind up about what connects it all together.

You'll meet a tall, dark stranger...

From a horror point of view there’s danger in over-specifying. Firstly having too many details makes the story too difficult to maintain. And secondly it makes the game lose a lot of its mystery. The more you show things like your monsters, the less scary they become. A classic example of this is the difference between Alien and Aliens. In Alien you just see flashes of the creatures and it freaks you out. In Aliens you see more of them, and it becomes less about fear and more about shooting.
It’s best to sketch things out and leave it up to the player’s imagination to fill in the blanks – because the player’s imagination is the best graphics card we have!

There are a lot of references that the superfans have been able to put together. But there are one or two questions that even we as a team don’t necessarily know the answers to.


Q: How do you keep track of all the story elements?

During the production of SOMA there was an awful lot of timeline stuff going on. Here we have to thank our Mikael Hedberg, Mike, who was the main writer. He was the one to make sure that all of the pieces of content were held together and consistent across the game. A lot of the things got rewritten because major historical timelines changed too, but Mike kept it together.

During the development we had this weird narrative element we call the double apocalypse. At one point in writing most of the Earth was dead already because of a nuclear war, and then an asteroid hit and destroyed what was left. We went back and forth on that and it became clear that a double apocalypse would be way over the top and coincidental. So we edited the script to what it is now, but this has resulted in the internal term ‘that sounds like a double apocalypse’, which is when our scripts have become just a bit too unbelievable or coincidental.


Q: How do you convey backstories, lore, and world-building?

Obviously there are clichés like audio logs and walls of text, but there is a trend to do something different with them, or explaining the universe in a different way. But the fundamental problem is relaying a bunch of information to the player, and the further the world is from your everyday 21st century setting, the more you have to explain and the harder it is. So it’s understandable that a lot of games do it in the obvious way. The best way I’ve seen exposition done is by working it into the environment and art, making it part of the world so that the player can discover it rather than shoving it into the player’s face.


Q: How do you hook someone who disagrees with the character?

It’s hard to get the character to say and feel the same things as what the player is feeling. If you do it wrong it breaks the connection between the player and the character, and makes it far less intense. Ideally, if the player is thinking something, you want the character to be able to echo it. We spend a lot of time taking lines out so the character doesn’t say something out of place or contrary to what the player feels.

With philosophical questions there are fixed messages you can make and things you can say about the world, but that will put off a part of the audience. The big thing when setting moral questions or decisions is that you should ask the question instead of giving the answer. If you offer the players a grey area to explore, they might even change their minds about the issue at hand.

To murder or not to murder, that is the question.


Q: How do you write for people who are not scared of a particular monster or setting?

In my experience the trick is to pack as many different types of fear in the game as you can, and picking the phobias that will affect the most people. If there’s only one type of horror, it’s not going to catch a wide enough audience. Also, if you only put in, say, snakes, anyone who isn’t afraid of snakes is going to find it dull.

We probably peaked in our first game. What's worse than spiders? (Not representative of the company's opinion.)


Q: What’s the main thing you want to get across in games?

The key thing is that the players have something they will remember when they walk away from the game, or when they talk about it with other people. It’s different for different games, and as a developer you decide on the effect and how you want to deliver it. In games like Left 4 Dead delivery might be more about the mechanical design. In other games it’s a particular story moment or question.

In SOMA the goal was not to just scare the players as they’re looking at the screen, it was about the horror that they would think about after they put the mouse or controller down and were laid in bed thinking about what they’d seen. It was about hitting deeper themes. Sure, we wrapped it in horror, but the real horror was, in a way, outside the game.


Q: What does SOMA stand for?

It has many interpretations, but I think the one Thomas and Mike were going for was the Greek word for body. The game is all about the physicality of the body and its interaction with what could be called the spirit, mind, or soul – the embodiment of you.

The funniest coincidence was when we went to GDC to show the game off to journalists before the official announcement. We hadn’t realised there is a district in San Francisco called Soma, so we were sitting in a bar called Soma, in the Soma district, about to announce Soma!

As to why it’s spelled in all caps – it happened to look better when David designed the logo!


Q: Does this broken glass look like a monster face on purpose?

I’m pretty sure it’s not on purpose – it’s just because humans are programmed to see faces all over the place, like socket plugs. It’s called pareidolia. But it’s something you can exploit - you can trick people into thinking they’ve seen a monster!

This window is out to get you!


Q: What is the best way to network with the industry people?

Go to industry events, and the bar hangouts afterwards!

It’s critical, though, not to treat it as “networking”. Let’s just call it talking to people, in a room full of people who like the same stuff as you. It’s not about throwing your business cards at each other, it’s about talking to them and finding common interests. Then maybe a year or two down the line, if you got on, they might remember you and your special skills or interests and contact you. Me being on Will’s stream started with us just chatting. And conversations I had in bars five years ago have turned into projects this year.

You have to be good at what you do, but like in most industries, it’s really about the people you know. I’m a bit of an introvert myself, so I know it’s scary. But once you realise that everybody in the room is probably as scared as you, and that you’re all geeks who like the same stuff, it gets easier.
Another good way to make connections is attending game jams. If you haven’t taken part in one, go find the nearest one! Go out, help your team, and if you’re any good at what you do, people will be working with you soon.


Q: Can you give us some fun facts?

Sure!

- You can blame the “Massive Recoil” DVD in Simon’s room on our artist, David. A lot of the things in Simon’s apartment are actually real things David has.

- We try to be authentic with our games, but out Finnish sound guy Tapio Liukkonen takes it really far. We have sequences of him diving into a frozen lake with a computer keyboard to get authentic underwater keyboard noises. It’s ridiculous.



- Explaining SOMA to the voice actors was challenging – especially to this 65-year-old British thespian, clearly a theatre guy. Watching Mike explain the story to him made me think that the whole situation was silly and the guy wasn’t getting the story at all. And then he went into the studio and completely nailed the role.

- There’s a lot of game development in Scandinavia, particularly in Sweden and Norway, because it’s dark and cold all the time so people just stay indoors and make games. Just kidding… or am I?


Wednesday, 5 July 2017

The Illusion of an Analog World

There is something about unclear options which make choices a lot more interesting. This post goes into the reasons behind this, and various ways of achieving it in games.

Warning: this post will include some spoilers for Spec Ops: The Line. 

The typical example for a choice in a game is something like this:


The situation is clearly set up and you are explicitly told what your options are. While they are most common in interactive movies, these sort of choices existing in just about every genre. They are easy to setup and can easily give a sense of moral drama. However, they miss out on a really important aspect of making real-life choices: that you are almost never aware what your options are or what they lead to.

Here is another example of a choice:


The player could avoid the incoming bullet by going down, or they could do it by going up. This is a choice very much in the same vein as the one from above. However there is no explicit prompt that asks the player what direction they want to go in. Instead the choice is implicitly stated through the use of the game's mechanics. And in contrast to the explicit choice, it is unclear just what the options are. The choice might lack the ethical implications from the previous one, but the choice itself is way more interesting. It also feels like an ingrained part of the play experience instead of something that is an obviously designed situation.

Super Mario derives this choice purely from the functioning of its basic mechanics. Simulation is another game genre that does this, but manages to add a bit more philosophical depth to the choices. For instance, in a simulation game focused on survival you might not have enough food for all your party members and have to make a decision on who lives and dies. When these things work well it can have a tremendous impact - but more often that's not the case. Letting your simulated party members starve to death very rarely give rise to the same strong feelings as a scene in a game like The Walking Dead. Let's unpack why this is so.

---

In order for a choice to be made, the player need to understand that they are making one. The cornerstone of this is the player's access to affordances. The player must have a robust mental model where they understand how the various aspects of the world work, and what abilities they can use to affect it. A choice then arises when it becomes clear to the player that there are two or more separate ways in which they can progress. Basically, the player understands that are at least two distinct plans for them to make, and they need to chose one of them. When this is crystal clear, the player has a choice on their hands.

Most games feature these sort of choices all the time. "What ammo should I use?", "What path should I take?", "Should I sneak or just attack?". As I explained in an earlier post, the selection of plans is a fundamental part of gameplay. What makes a choice carry depth is that there's something major at stake. So not only does the player need to understand that a choice is happening, but also that a major decision is happening. And in order to elicit the correct emotional response there needs to be a particular setup and framing.

A game like The Walking Dead has an easy time of it setting up all of these requirements. First of all, the game is explicitly stating that a choice is happening. It is impossible to miss. Secondly, since there is so much focus on the choice, it is quite clear that it is of major importance. Finally, The Walking Dead is heavily plotted and the designers have a great deal of control over what happens before the choice. It is relatively easy for that game to make sure the player is in the right frame of mind.

Things are much harder for a simulation game. Here the player takes part in choices all of the time and it's harder to work out which ones are crucial and which ones are minor. The player might miss entirely what their choice is about. For instance, take the choice where the player needs to choose whom from their group to let die. It might be that the player doesn't understand that they are running out of food, or thinks that they have some ways to survive. So at the crucial moment when the player decides who lives and who dies, they might be thinking about other things entirely. On top of that, even if the player grasps what the choice is about, it might be lacking proper build-up. The player might not be in the right mood, or have a suitable level of affection for the characters and so on.

It may of course be possible to improve the simulation to take things like this into account. However, this is very likely to run up against the complexity fallacy which I wrote about last week. Chances are that these additions to complexity will not be noticeable and instead just make the game harder to design and code.

---

Instead, there's a middle ground here. Instead of explicitly stating the choices, it is possible to set up a situation that is driven by established gameplay mechanics. Since the setup is not something that happens dynamically, it's possible to properly signpost the scenario. That way you can make sure that the player is in the right mood. But when the actual situation arrives there is no menu popping up that flags a choice moment. Instead the instruction to choose can come from the story mechanics (e.g. a character can speak), or, better, arise from how the situation is designed. The actual options are then chosen, not through an abstract menu, but through interacting using standard gameplay mechanics.

The best example of this sort of design is a scene from Spec Ops: The Line. Late in the game the player finds themselves surrounded by civilians. These people are not too happy that you are here and start throwing rocks at you. It is a very dangerous situation and it is clear that you need to get out of there. At this point, the player basically only has a single verb at their disposal: "shoot". So what can you do? You really don't want to shoot civilians, but you also don't want to die. The player really has two options here. One is to shoot at the civilians, killing a few of them and making the others run away. The other option is to simply shoot in the air and scare them off, killing nobody.


The thing is that, since the game doesn't tell you what your options are, shooting in the air is not obvious to a player. And that is what makes this choice so interesting and makes it feel like a real choice. Had a prompt popped asking you to choose between "fire at civilians" and "fire in the air", the situation would have been radically different and would have lost a lot of its impact. But since you select the option with a gameplay mechanic, it not only feels like a proper part of the playable narrative, it also means that you are uncertain of what your options are.

Having choices like this makes the game feel analog. Under the hood the choice is just as discrete as the ones you would make in The Walking Dead, but it doesn't feel like it. It feels like there are a spectrum of choices to be made, a continuous space of options, and not simply "this way or the other". This concept of choices feeling analog is really important and I'll talk about it more later on.

Spec Ops: The Line features half a dozen or choices of this kind. For instance, there is one where you are to chose which of two prisoners lives or dies by shooting one of them. But what the game doesn't tell you is that there is a third options, which is to target the men that are holding the prisoners captive. Another scenario has you deciding whether or not to kill a war criminal. And again, it's unclear just what your options are. The game simply puts you in a situation where it is possible to kill him. That there is a choice to be made is something you have to make up your own mind about.

Another interesting aspect of Spec Ops: The Line is how it handles the consequences of its choices. The solution is that it simply doesn't. It just sets up the situations in such a way that either choice makes sense for what happens later in the story. While I don't think it is possible to always shy away from showing consequences, it can be very helpful in maintaining the analog feeling. Because the moment you show a consequence, it makes it clearer that there is a discrete aspect to your choice. But if you keep consequences hidden, the possibility space is larger and the player is free to fantasize more just about what took place.

---

It's worthwhile digging a bit deeper into this. What is it that makes the choices in Spec Ops: The Line different from a game where the options are explicitly stated? The key difference is that in the former, the player is in a position of uncertainty. There's no clear-cut information to go by and the player is forced to fill out informational gaps using their imagination. When the options are explicit there is no need for this. The brain always wants to optimize, so any concrete piece of information will remove any mental guesstimation. This leads to Spec Ops: The Line having a much more vivid mental model of the scene. Remember, we play the game based on what is in our heads - not what is in the actual systems - so that means the game itself becomes a more interesting experience.

This is what the "feeling of analog" is all about. By having situations where not everything is clearly cut and where the player is free to imagine a wide range of freedoms. The goal is for it to seem like there are a continuous space of possibilities. This makes the situation feel real and organic. It lessens the feeling of there being a designer guiding your every step, despite the experience being just as guided as in the more explicit case.

It's worth noting that there can be drawbacks to this approach. Just like in the pure simulation case, the player might misunderstand what the choice and its implications are all about. An explicit approach with a prompt laying out all the options will always be better at this. But it will also never feel analog. So there may very well be situations where an explicit choice is the right way to go. As always in design, one shouldn't get hung up on the manner of implementation, but to focus on what the end results are.

In SOMA we tried to make all of the choices feel analog, and used a similar approach the one in Spec Ops: The Line. We presented a situation and then used common game verbs to let the player make their choice. The idea was to make the choices feel embedded in the game experience, and judging from feedback we have gotten, it feels like it worked out very well.

The only choice in SOMA that didn't work properly was when you decided the fate of Wau. Here we failed create a proper emotional setup, and didn't spend enough time on implementing consequences. A lot of this was due to this choice coming quite late in design, and it feels like it shows. It is a good reminder that you can't just casually throw in these sort of choice-moments. One needs to make sure that the player is in the right mental state when they occur, and that you follow up on them in an appropriate matter. Just because something is supposed to feel analog doesn't mean it doesn't require a strict, and guided, implementation for it all to work out.

---

It is not only moral choices that can take advantage of becoming more analog. There are a wide range of other types of gameplay where it is worth considering if it can be made more analog. A good example of this is in interactive fiction (ie, good old text adventures). Normally these are controlled by simply typing commands into a parser. The type of commands are things like "pick up lamp", "look under the carpet", "remove dust from the table", and so forth.


So, normally, there is no explicit prompt saying what sort of commands are possible. You have to infer the space of possibilities by reading the descriptions you get as you explore the current environment you are in. You are building up a mental model of the place at hand, and the character you are playing as, and using that to build a sense of what is possible to you. When this all works out, it feels great. It really feels like there is a living, breathing world for you to interact with. It feels analog.

This system comes with issues though and the most common one is the "guess the verb" problem. The player might know exactly what to do, but can't figure out the right commands that allow them to do it. This is really frustrating and it breaks down the sense of immersion. A way to fix this is to make it clear exactly what the various verbs at your disposal are. This solves the problem, but it adds a new one: the game loses its sense of being analog. 

I think it's worthwhile to give this a test yourself. First try a normal interactive fiction game. I would recommend something like Lost Pig as it allows a lot of commands and, especially in the beginning, shows just how engaging it is to play something that lets you type whatever you want at a blank prompt. After you have done so, try out Walker and Silhouette and only use the highlighted words to play. The two experiences are very different. Sure, the latter makes it a lot easier to progress and removes some frustration. But on the other hand, it removes a lot of what makes the medium interesting in the first place.

I think this is a really good example of just how important the feeling of analog is. Implementation-wise, these two interactive fiction games are really similar, to the point of basically being the same. But the way that they chose to do their user interface radically changes the experience. By forcing the player to build an internal mental model of the game's world, the experience becomes so much richer.

---

There are lots of other instances where the feeling of analog can be useful. Another good example are puzzles. I recently played through 999 which has "escape the room"-like puzzles. While these can be quite fun to play, the way they are set up it is incredibly obvious that the game wants you to reproduce a specific number of steps. You are basically trying to read the designer's mind to find a very specific chain of actions that lead to a success state. This doesn't feel very analog.


A big reason this is so is because the game will only respond to very specific commands. Most of these commands are not part of a generic verb-set either. For instance, you only ever use a screwdriver in a specific place and so forth. So you never really build a mental model of how the world functions, because such a model would basically be worthless. It is much better to think of each object as a specific case of "what does the designer want me to do with this?".  As such the world becomes stale and never gets a rich mental model. This is a very common problem with puzzles.

However, there are puzzle games that manages to work around this. One of the best examples is Portal. In this game is rarely feels like you are following a set path. Instead it feels like you are discovering a solution. It feels analog. And this is despite the solution being no less designer-directed than your average escape-the-room game. A core reason why Portal is different is that it always uses a foundational set of mechanics for solving the puzzles. You have your portal gun, the ability to pick up certain objects and to move around. That is it. Nothing else is used in order to progress. On top of that, there is a coherent design to all of this encouraging you to build a mental model around it.


There might only be one specific sequence of events to solve a puzzle. But when playing Portal you are not as aware of this. Much of the time it's not even clear after you have completed a section. Because the puzzles are based on foundational verbs, it is much less clear whether there were other possible solutions available. There is often the sense that you could have completed it in another way.

This consistency in actions also means that you can mentally simulate a number of possibilities. You know up front the type of interactions that are possible and can use that to work out the sort of things that you can do in order to progress. And that without needing to interact with the world at all. What this means is that you are able to make plans. You can think about what steps to take in advance and be fairly confident all of these are possible to execute. As discussed earlier, making plans is a core part of what makes gameplay engaging. This is another reason why making choices feel analog is good - it also makes it feel more like proper gameplay.

The consistency in actions is not the only thing that makes Portal feel analog. The level design itself also plays a big role.  By just giving the right number of hints, the player never feels pushed along a certain path, nor are they completely bewildered about what they are supposed to be doing. By not pushing the player too much, the game makes sure that the player comes up with ideas on their own. This gives a much greater sense of picking one solution out of many, instead of going along an intended route. And by making sure the solutions never feel too obscure, players refrain from trying to brute force a puzzle. Brute forcing can be quite damaging to the feeling of an analog world as this forces the player breaks down the world to its basic components, revealing the non-analog nature of it all.

Getting the level of handholding right is not an easy task and how to achieve it varies a lot from game to game. The basic idea is the same, though: you want to make the player understand what to do without revealing what your preferred route is. There needs to be enough uncertainty for the player to start building a vivid mental world around a situation. But there can't be too much uncertainty as that means there is nothing to build a world on.

---

Another example of crafting analog worlds is the closet-hiding in Amnesia. We chose to simulate this using a physics-based interaction system. We also tried to make the behavior an implicit part of the gameplay, and never directly state how it is supposed to work. Despite this, a great number of players still entered closets to hide and opened the door slightly to see if the coast was clear. We could have just had an explicit prompt and some specific controls when you are hiding behind doors, but it doesn't feel like that would have been the same kind of experience. This way, the world has a much great sense of being an analog one.

There are bound to be tons of game mechanics that could make good use of becoming a bit more analog. One obvious example is dialog response, where I think there would have been a lot more to gain if the options could be chosen by using core mechanics instead from an explicit menu.

How could you go about making a scene more analog? I think there are two main aspects that you need to implement:

  • The choice selection must be made by using a set of core mechanics. The number of ways in which these mechanics can be used must also be so large that the player can't easily grasp the options available. For instance, if the player can only punch red objects, and you enter a room with a single red object, the situation doesn't feel very analog.
  • The hints on how to complete the scene can't be too direct. There needs to be a certain level of vagueness so the player feels that they have come up with the solution themselves. It's also important to teach the player (through play if possible) how the core mechanics functions. The idea is that when they encounter a choice moment (be that a puzzle, moral choice, etc.) they have an intuitive understanding of they ways they can approach it.
It's also important to not just focus on the interactions at hand, but to think of it as a multi-scene setup. In order for the player to be in the right state, and to have the right mental model, there's a lot of setup required. It is really important to think holistically about these things.


---

I think there's a lot to be gained by thinking in terms of making a world more analog. I also think that it's something that hasn't really been explored enough. It is quite common to just take something that works through explicit means and stick with it. Crafting scenes in an analog way is a lot more work, but I also think it can be really rewarding. It's also a very good concept to have in mind when trying to merge more standard narrative approach with proper gameplay. Analog worlds are a core part of evolving Interactive Storytelling.



Thursday, 15 June 2017

Choices, Consequences and the Ability to Plan

This article goes over why it is so important for choices to matter in a game and how it all has to do with planning. If a user perceives that their actions have no consequences, you remove a core component of engagement - the ability to plan.



Say you are playing a game like The Walking Dead, or any other interactive movie, and you are faced with the choice whether or not to help someone who is hurt. You decide that you want to help the person, after which you never see them again for the rest of the game. Reloading a save and playing through the scenario you find out that if you chose not to help, the same thing plays out. Simply put: in this case, your choice really has no consequences.

While the scenario is made up, it presents a very typical situation that opinions are heavily divided on. Some people are totally okay with it for various reasons. But others will argue that this lack of consequences ruins the entire experience, as your choices doesn't really matter. It's really easy to say that people who feel this way are simply playing the game the wrong way or are not properly immersed. However, I think it's really important to investigate this reaction further as it gets us closer to some fundamental problems of narrative games.

The argument from people who get annoyed by these non-choices goes something like this: if every branch leads back to the same path, then you really don't have any say in how the game plays out. You are not playing a game, you are only pretending that you are. It's like when you are playing a split-screen game and notice you've been watching the wrong side. The feeling of play is just an illusion. Nobody would tolerate a Super Mario where a pre-written script - not the player's skill - determines whether or not they survive a jump, so why tolerate games where all choices lead to the same conclusion?

One could counter that by saying the intention is to put you into a hard position and the game is about your varied emotional reactions as you ponder the different choices. It isn't about affecting how the game plays out - it is about making an emotional journey. If you require the game to show you the consequences of your actions, you are not immersed in the game's story - you are simply trying to optimize a system. This might sometimes be the case, but I also think this line of thinking is missing what the actual problem is: the failure of the player's mental model.

---

Let's start by breaking down the problem. A mental model, as explained in this previous post, is how the player perceives the game's world and their role in it. As you are playing a game, you slowly build a mental model of the various objects and systems that make up the game and attach various attributes to them. At first a box might just be a piece of the background, but as you learn you can destroy it in order to gain items, attributes are added. The object gains complexity. The reverse can also happen. For instance, when you first see a character you might think that you are able to speak to it and therefore label it with various attributes you know that humans usually have. But when you find out that the character is really just a piece of the background without any sort of agency, most of those attributes are lost.

Your mental model of a game is something that is continually revised as you are playing, and it is something that always happens, no matter what the game is. In fact, this is a process that is a core part of any medium, including books and films. So, obviously, when you are playing an interactive movie game, you are not simply reacting to a direct stream of information. You are answering questions based on your mental model.

Take my "will you help your hurt companion?" scenario from above. The knowledge you take into account about that choice is not just what is currently projected at you from the TV screen. It is a combination of everything you have gone through up to this point, along with a bunch of personal knowledge and biases. Even basic concepts like "hurt" and "companion" aren't just created in this moment. They are ideas that the game has spent a lot of time building up, be that for good or bad, from the very moment you started playing.

When you are faced with the hypothetical scene of  a hurt companion, you are not just dealing with an animated image on a screen. You are dealing with a whole world constructed in your mind. This is what your choice will be based around. While it might objectively seem that everyone is reacting to the same scenario, they may in fact be dealing with quite different setups.

So when someone gets annoyed by the lack of consequences, it is not necessarily the direct consequences that are missing. The issue is that they have constructed a mental around a real person in need, along with that person's future actions. So when it becomes apparent that the game doesn't simulate that as part of its own model, the player's mental model is broken and it feels like a big let down. Remember that we don't play the game that is on the screen, we the play game as we perceive it in our heads. So when it turns out that your imagined world is fake, it has a huge impact.

It gets even worse once we take into the fact that planning is fundamental to a sense of gameplay. As explained in a previous post, engaging gameplay is largely fueled by the ability to make plans. The way this works is that the player first simulates a course of action using their mental model, and then tries to execute that in the game. This is a continuous process and "planning and executing the plan" is basically the same as playing. Interactive movies normally don't have a lot of gameplay and it is really only in the choice moments that the player gets to take part in any actual play. Hence, when the choices turn out to have no consequences, it becomes clear that planning is impossible. In turn, this means that any meaningful play is impossible and the experience feels fundamentally broken.

As an example, take this experience I had with Heavy Rain:
[...] one scene I had made a plan of actions: to first bandage an unconscious person and then to poke around in his stuff. There really was nothing hindering me from doing so but instead the game removed my ability to interact directly after caring for the person. The game interpreted me wanting to help the guy as I also did not want to poke around, thinking that they two were mutually exclusive actions. Of course I thought otherwise and considered it no problem at all to do some poking afterward.
I think that people to complain the loudest about the lack of consequences are extra sensitive to situations like this. But, as I said, this is not due to lack of consequences per se, but due to the impact it has on the consistency of their mental model and sense of play. It is really important to note that this is not due to some sort of lack in immersion or ability to roleplay. On the contrary, as I have described above, many of the issues arise because they mentally simulate the game's world and characters very vividly.


---

So the problem that we are faced with is really not a lack of consequences. It is because the underlying systems of the game are not able to simulate the mental model for a subset of players. One way of mending this is of course to add more consequences, but that is not a sustainable solution. Additional branches increase exponentially, and it quickly becomes impossible to cover every single possible outcome. Instead it is much better to focus on crafting more robust mental models. Sure, this might entail adding consequences to choices, but that is just a possible solution - it is not the end goal.

As I outlined in the previous blog on the SSM framework it is incredibly important to keep track of how systems and story help form a mental model in the player's mind. For instance, if you start your game saying "your actions will have consequences", that will immediately start filling up your player's imagination with all sort of ideas and concepts. Even how pre-release PR is presented can affect this. All of these then become things that lay groundwork for how the game is modeled in the player's head and it is vitally important to make sure this mental model remains stable over the course of the game.

One of the main things to have in mind is consistency. Remember that as someone is playing a game, they are building up a mental simulation for how things are supposed to work. If you provide information that certain events are possible when they are in fact not, you are running the risk of breaking the player's mental model. You either need to remove this sort of information or to make sure that they never take part in situations where these sort of events feel like a valid option.

However, the most important thing to keep in mind is the ability to plan. A major reason why the lack of consequences can feel so bad is because these consequences were part of the player's gameplay plans. So when it becomes apparent that they don't exist, the whole concept of play breaks down. In all fairness, this might be OK for certain genres. If the goal is to simply to make an interactive movie, then losing a subset of player might be fair. But if the goal is to make proper interactive storytelling, then this is of paramount importance - planning must be part of the core experience.

That doesn't mean that every choice is something the player needs to base their plans on. But in that case then there need to be other things that lie on a similar time scale and which are possible to predict and incorporate into plans. I think that one way around this problem is to have a more system-focused feature that runs alongside the more fuzzy narrative choices. When the players make choices, their mental model will have the best predictive skills around this more abstract system, and play revolves mostly around this. Then when more narrative choices are presented they will feel more game-like and part of the a solid simulation, despite not really having any consequences.

A simple and good example is the choices you have to make in Papers, Please. This game is driven by a type of survival simulation where you need to gain credits (though doing proper passport check) in order to keep your family live. Entwined into this are choices about who you will allow into the country. Many of these don't have any far reaching consequences, but that that doesn't really matter because your ability to plan is still satisfied. But despite that, these choices still feel interesting and can have an emotional effect.

 This sort of approach relies on combining several elements in order to produce the feeling of something that might not actually be there. This is something that is used in a wide range of applications, from how we view images on a TV, to how films can create drama through cuts. We don't always have to have solve problems straight on, but often the best way is to split the problem into many and to solve each problem on its own. The combined effect will then seem like a solution to the original problem. This is a technique that is super important for not just this, but many other narrative problems. I will write a blog post later on that goes into more details.

Once you have a game that is consistent and that has some sort of planning apart from the more narrative choices, the probability of satisfying the people will be greatly improved. And not only that, your narrative experience will improve over all, for all players, not just a subset. In this case I think it is fair to view these extra sensitive people as canaries in a cave, something that is first to react on a much bigger issue.

---

This blog post by no means presents the solution to end all problems with choices and consequences. But hopefully it will give a new way of thinking about the problem and some basic directions for finding a solution. I don't think we will ever find a perfect way of dealing with choices, but the better informed we are at underlying causes, the better experiences we can provide.




Tuesday, 30 May 2017

Planning - The Core Reason Why Gameplay Feels Good

In this post I dig into planning, and how it is a fundamental part of what makes a game engaging. Planning affects many aspects of what is so special about games and why we enjoy playing them. This post will go over the reasons behind this, and explains why planning is so important for narrative games.

I think we can all agree that there is a difference in how certain games feel to play. There are just certain games that feel "gamier" than others. Just compare playing Super Mario to something like Dear Esther, and I think it's clear that the former feels like it has more gameplay than the latter. What is it that causes this? My hypothesis: the ability to plan.

The more a player can plan ahead in a game, the more engaging that game will feel to play.

Before I cover some evidence of why this is most likely true, I will need to get into some background information. In order to understand why planning has such a prominent role in games, we need to look into the evolution of our species and answer this question: why are fish so stupid?

---

This is how the world looks to the average fish:


They can really only see 1-2 meters in front of them and often it's even worse than that. This means that a fish can't do much planning. It just reacts to whatever pops up in front of its face; that's really what their lives are all about. If a fish's life was a game, it would be a limited version of Guitar Hero played to random noise. This is why fishing works. Fish don't think like us, they're mainly just driven by hardwired responses.

For a large part of earth's history this was what life was like for organisms. But then 400 million or so years ago something happened. Fish started to move on to land. Suddenly, the view looked more like this:


This changed their world. Suddenly it was possible to plan ahead and to properly think about your environment. Previously, smart brains had been a waste of energy, but now it was a great asset. In fact, so important was this shift that it is probably a big factor in how consciousness evolved.  Malcolm MacIver, who as far as I can tell originated this theory, writes about it like this:
"But then, about 350 million years ago in the Devonian Period, animals like Tiktaalik started making their first tentative forays onto land. From a perceptual point of view, it was a whole new world. You can see things, roughly speaking, 10,000 times better. So, just by the simple act of poking their eyes out of the water, our ancestors went from the mala vista of a fog to a buena vista of a clear day, where they could survey things out for quite a considerable distance. 
This puts the first such members of the “buena vista sensing club” into a very interesting position, from an evolutionary perspective. Think of the first animal that gains whatever mutation it might take to disconnect sensory input from motor output (before this point, their rapid linkage was necessary because of the need for reactivity to avoid becoming lunch). At this point, they can potentially survey multiple possible futures and pick the one most likely to lead to success. For example, rather than go straight for the gazelle and risk disclosing your position too soon, you may choose to stalk slowly along a line of bushes (wary that your future dinner is also seeing 10,000 times better than its watery ancestors) until you are much closer."
 To showcase the above, he has the following image:


This images nicely shows the conceptual difference in the processes involved. In one you basically just use a linear process and "react as you go". In the other one you scout the terrain ahead, consider various approaches and then pick one that seems, given the available data, to be the best one. 

It is not exactly the same, but there is a striking likeness to the following image comparing old school and more modern FPS design:

I know that this is not a completely fair comparison, but the important point here is that when we look at these two images, it feels pretty clear which of these two designs ought to have the best gameplay. The image on the left represents a more complex and interesting landscape, while the one on the right represent a linear sequence of events. And just like the worlds of a fish compared to that of the world of land animals, this means a huge difference in our ability to plan.

There are other interesting connections with the ability to see far and to plan. Malcolm MacIver replies to a question regarding the intelligence of octopi:
"It’s incredible what being an unprotected blob of delicious protein will get you after eons of severe predation stress. They, by the way, have the largest eyes known (basketball size in the biggest deep sea species). Apparently, they use these to detect the very distant silhouettes of whales, their biggest threats, against the light of the surface. 
The theory is committed to the idea that the advantage of planning will be proportional to the margin of where you sense relative to where you move in your reaction time. It then identifies one period in our evolutionary past when there was a massive change in this relationship, and suggests this might have been key to the development of this capacity. It’s interesting that octopuses and archerfish tend to be still before executing their actions. This maximally leverages their relatively small sensoria. There may be other ways, in other words, for animals trapped in the fog of water to get a big enough sensorium relative to where they are moving to help with planning."
Sight is of course not the only reason for us humans to have evolved our current level of intelligence and consciousness. Other important factors are our upright pose and our versatile hands. Standing up meant that we could see further and allowed us to use our hands more easily. Our hands are the main means with which we shape the world around us. They allowed us to craft tools, and in various ways to change parts of the environment to optimize our survival. All of these things are deeply connected to the ability to plan. Once we learned how to reshape the world around us, our options opened up and the complexity of our plans increased immensely. 

It doesn't stop there. Planning is also a crucial part of our social life. Theory of mind, our ability to simulate other people, is both a reason for and a product of our planning abilities. Navigating our social groups has always been a careful activity of thinking about various paths of action and their consequences. 

Planning also underlies two other phenomena that have been discussed recently on this blog: Mental Models and Presence. The reason why we have mental models is so that we can evaluate actions before we make them, which obviously is crucial to planning. Presence is a phenomenon that comes from us incorporating ourselves into our plans. We don't just want to model what happens to the world, but also to ourselves.

So, to sum things up: there are lots of evolutionary reasons why planning would be a fundamental part of what makes us human. It's a big part of who we are, and when we are able to make use of these abilities we are bound to find that engaging. 

---

So this background is all very well, but is there really any good evidence that this is actually a thing in games? Yes - in fact, quite a bit of it! Let's review the ones that I find the most important.

There is a model of player engagement called PENS (Player Experience of Need Satisfaction) which is quite rigorously researched. It uses the following criteria to evaluate what a player thinks about a game.
  • Competence. This is how well a game satisfies our need to feel competent - the sense of having mastered the game. 
  • Autonomy. How much freedom does the player have and what options do they have to express it?
  • Relatedness. How well is the player's desire to connect with other people satisfied?
Measuring how well a game performs on the above metrics has been shown to be a much better indicator of various types of success (sales, how likely people are to recommend the game, and so forth) than simply asking if the game is "fun". 

And, more importantly, two of the above factors are directly related to planning. Both Competence and Autonomy heavily rely on the player's ability to plan. Let's go over why this is so.

In order for a player to feel competent at a game they need to have a deep understanding of how the game works. Sure, there are games where mere reflexes are enough, but these are always very simplistic. Even in most rhythm games there are certain rules that the player needs to learn and understand in order to play well. A big part is also learning the melodies that make up each level. Why? In order to optimally place your inputs (be that fingers or feet) to hit as many beats as possible. All of these aspects boil down to one thing: being able to predict the future.

You see the same thing in most games. You get better at Darks Souls when you understand how monsters attack, how levels are laid out and how your own attacks work. Learning how a world operates and gaining the ability to predict is a cornerstone of competence. Sure, you also need to develop the motor skills to carry out the required actions, but this is almost always less important than understanding the whys and whens of the actions. Simply being able to predict is not enough, you also need to have a sense of what goal you are trying to achieve and then, using your predictive abilities, to carry out the steps required to reach it. Or in other words: you need to be able to plan.

Autonomy is also highly dependent on the ability to plan. Imagine a game where you have plenty of freedom, but have no idea how the game works. Everybody who has booted up a complex strategy game without understanding the basics knows that this is not very engaging. In order for the freedom to mean something, you need to have an idea what to do with it. You need to understand how the game's mechanics behave, what tools are at your disposal, and what goals you want to achieve. Without this, freedom is confusing and pointless.

So in order to provide a sense of autonomy a game needs to not only provide a large possibility space, but also teach the player how the world works and what the player's role in it is. The player needs to be able to mentally simulate various actions that can take place, and then come up with sequences that can be used to attain a specific goal. When you have this, you have freedom that is worth having. It should be pretty obvious that I am again describing the ability to plan. A world in which the player is not able to plan is also one with little autonomy.

Similarly, if the game only features a linear sequence of events, there's not much planning to be done. In order for the player to be able to craft plans there need to be options. This is not the case if only a certain chain of actions is possible. This scenario is a typical example of having no freedom, and unsatisfactory in terms of autonomy.  Again, planning and autonomy are intricately linked.

One could make the case that Relatedness also has a connection with planning. As explained earlier, any social interactions heavily rely on our ability to plan. However, I don't think this is strong enough and the other two aspects are more than enough. Instead let's look at evidence from a different angle.


One trend that has been going on for a long time in games is the addition of extra "meta" features. A very common one right now is crafting, and almost all big games have it in some way or another. It's also common to have RPG-like levelling elements, not just for characters, but for assets and guns as well. Collecting a currency that can then be used to buy a variety of items also turns up a lot. Take a look at just about any recent release and you are bound to find at least one of these.

So why do games have them? The answer to that is quite easy: it makes the game more engaging. The harder question is why that should be the case. It can't solely be because it gives the player more to do. If that was the case you would see games adding a random variety of mini games to spice things up. But instead we are seeing certain very specific types of features being used over and over again.

My theory for this is that it's all to do with planning. The main reason that these features are there is because it gives the player a larger possibility space of plans, and more tools to incorporate into their planning. For instance, the act of collecting currency combined with a shop means that the player will have the goal of buying a particular item. Collecting a certain amount of currency with a view to exchange it for goods is a plan. If the desired item and the method in which the coins are collected are both connected to the core gameplay loop, then this meta feature will make the core loop feel like it has more planning that it actually has. 

These extra features can also spice up the normal gameplay. Just consider how you need to think about what weapons to use in combat during The Last of Us. You have some scrap you can craft items from, and all of those items will allow you to use different tactics during combat. And because you cannot make all of them, you have to make a choice. Making this choice is making a plan, and the game's sense of engagement is increased. 

Whatever your views on this sort of meta-feature are, one thing is certain: they work. Because if they weren't we wouldn't be seeing this rise in them persist over such a long time. Sure, it's possible to make a game with a ton of planning without any of these features. But that's the hard way. Having these features is a well-tested way to increasing engagement, and thus something that is very tempting to add, especially when you lose a competitive advantage by not doing so.


Finally, I need to discuss what brought me into thinking about planning at all. It was when I started to compare SOMA to Amnesia: The Dark Descent. When designing SOMA it was really important for us to have as many interesting features as possible, and we wanted the player to have a lot of different things to do. I think it is safe to say that SOMA has a wider range of interactions and more variety than what Amnesia: The Dark Descent had. But despite this, a lot of people complained that SOMA was too much of a walking simulator. I can't recall a single similar comment about Amnesia. Why was this so?

At first I couldn't really understand it, but then I started to outline the major differences between the games:
  • Amnesia's sanity system
  • The light/health resource management.
  • Puzzles spread across hubs.
All of these things are directly connected with the player's ability to plan. The sanity system means the player needs to think about what paths they take, whether they should look at monsters, and so forth. These are things the player needs to account for when they move through a level, and provide a constant need to plan ahead.

The resource management system works in a similar fashion, as players need to think about when and how they use the resources they have available. It also adds another layer as it makes it more clear to the player what sort of items they will find around a map. When the player walks into a room and pulls out drawers this is not just an idle activity. The player knows that some of these drawers will contain useful items and looting a room becomes part of a larger plan. 

In Amnesia a lot of the level design worked by having a large puzzle (e.g. starting an elevator) that was solved by completing a set of spread out and often interconnected puzzles. By spreading the puzzles across the rooms, the player needs to always consider where to go next. It's not possible to just go with a simple "make sure I visit all locations" algorithm to progress through the game. Instead you need to think about what parts of the hub-structure you need to go back to, and what puzzles there are left to solve. This wasn't very complicated, but it was enough to provide a sense of planning.

SOMA has none of these features, and none of its additional features make up for the loss of planning. This meant that the game overall has this sense of having less gameplay, and for some players this meant the game slipped into walking simulator territory. Had we known about the importance of the ability to plan, we could have done something to fix this. 

---

A "normal" game that relies on a standard core gameplay loop doesn't have this sort of problem. The ability to plan is built into the way that classical gameplay works. Sure, this knowledge can be used to make such games better, but it's by no means imperative. I think this is a reason why planning as a foundational aspects of games is so undervalued. The only concrete example that I have found[1] is this article by Doug Church where he explains it like this:
"These simple, consistent controls, coupled with the very predictable physics (accurate for a Mario world), allow players to make good guesses about what will happen should they try something. Monsters and environments increase in complexity, but new and special elements are introduced slowly and usually build on an existing interaction principle. This makes game situations very discernable — it's easy for the players to plan for action. If players see a high ledge, a monster across the way, or a chest under water, they can start thinking about how they want to approach it. 
This allows players to engage in a pretty sophisticated planning process. They have been presented (usually implicitly) with knowledge of how the world works, how they can move and interact with it, and what obstacle they must overcome. Then, often subconsciously, they evolve a plan for getting to where they want to go. While playing, players make thousands of these little plans, some of which work and some of which don't. The key is that when the plan doesn't succeed, players understand why. The world is so consistent that it's immediately obvious why a plan didn't work. "
This is really spot on, an excellent description of what I am talking about. This is an article from 1999 and have had trouble finding any other source that discuss it, let alone expands upon the concept since then. Sure, you could say that planning is summed up in Sid Meier's "A series of interesting choices", but that seems to me too fuzzy to me. It is not really about the aspect of predicting how a world operates and then making plans based on that.

The only time when it does sort of come up is when discussing the Immersive Sim genre. This is perhaps not a big surprise given that Doug Church had a huge part in establishing the genre. For instance, emergent gameplay, which immersive sims are especially famous for, relies heavily on being able to understand the world and then making plans based on that. This sort of design ethos can be clearly seen in recent games such as Dishonored 2, for instance [2].  So it's pretty clear that game designers think in these terms. But it's a lot less clear to me that it is viewed as a fundamental part of what makes games engaging and it feels like it is more treated like a subset of design.

As I mentioned above this is probably because when you take part in "normal" gameplay, a lot of planning comes automatically. However, this isn't the case with narrative games. In fact, narrative games are often considered "lesser games" in the regard that they don't feature as much normal gameplay as something like Super Mario. Because of this, it's very common to discuss games in terms of whether you like them to be story-heavy or gameplay-heavy, as if either has to necessarily exclude the other. However, I think a reason there is still such a big discrepancy is because we haven't properly figured out how gameplay in narrative games work. As I talked about in an earlier blog post, design-wise, we are stuck at a local maxima.

The idea that planning is fundamental to games presents a solution to this problem. Instead of saying "narrative games need better gameplay", we can say that "narrative games need more planning".

---

In order to properly understand what we need to do with planning, we need to have some sort of supportive theory to makes sense of it all. The SSM Framework that I presented last week fits nicely into that role.

It is really best to read up on last week's blog post to get the full details, but for the sake of completeness I shall summarise the framework here.

We can divide a game into three different spaces. First of all we have System space. This where all the code is and where all the simulations happen. The System space deals with everything as abstract symbols and algorithms. Secondly we have the Story space which provides context for the the things that happen in the System space. In System space Mario is just a set of collision boundaries, but then when that abstract information is run through the Story space that turns into an Italian plumber. Lastly, we have the Mental Model space. This is how the player thinks about the game and is a sort of mental replica of all that exists in the game world. However, since the player mostly never understands exactly what goes on System space (nor how to properly interpret the story context), this is just an educated guess. In the end though, the Mental Model is what the player uses in order to play the game and what they base their decisions on.

Given this we can now start to define what gameplay is. First of all we need to talk about the concept of an action. An action is basically whatever the player performs when they are playing the game and it has the following steps:
  1. Evaluate the information received from the System and Story space.
  2. Form a Mental Model based on the information at hand.
  3. Simulate the consequences of performing a particular action.
  4. If the consequences seem okay, send the appropriate input (e.g. pushing a button) to the game.
A lot of this happens unconsciously. From the player's point of view they will mostly view this sequence as "doing something" and are unaware of the actual thought process that takes place. But really, this always happens when the player does something in a game, be that jumping over a chasm in Super Mario or placing a house in Sim City.

Now that we understand what an action is, we can move on to gameplay. This is all about stringing several actions together, but with one caveat: you don't actually send the input to the game, you just imagine doing so. So this string of actions are built together in mental model space, evaluating them and then if the results feel satisfactory, only then do we start to send the required input.



Put in other words: gameplay is all about planning and then executing that plan. And based upon all of the evidence that I showed above, my hypothesis is: the more actions you can string together, the better the gameplay feels.

It isn't enough to simply string together any actions and call that a plan. First of all, the player needs to have an idea of some sort of goal they are trying to achieve. The actions also need be non-trivial. Simply having a bunch of walking actions strung together will not be very engaging to the player. It's also worth pointing out that planning is by no means the only thing that makes a game engaging. All other design thinking doesn't suddenly go out the window just because you focus on planning. 

However, there are a bunch of design principles that go hand in hand with planning. For instance, to have a consistent world is crucial, because otherwise it isn't possible for the player to form a plan. This is why invisible walls are so annoying; they seriously impede our ability to create and execute plans. It also explains why it's so annoying when failure seems random. For gameplay to feel good, we need to be able to mentally simulate exactly what went wrong. Like Doug Church expressed in a quote above: when a player fails they always need to know why.

Another example is the adventure game advice that you should always have several puzzles going at once. In planning terms this is because we always want to make sure the player has ample room to plan, "I will first solve this and then that". There are lots of other similar principles that have to do with planning. So while planning is not the only thing that makes a game engaging, a great number of things that do can be derived from it.

Let's quickly look at some examples from actual games.

Say that the player wants to assassinate the guy in red in this situation. What the player does not do is simply jump down and hope for the best. They need to have some sort of plan before going on. They might first wait for the guard to leave, teleport behind the victim, and then sneak up and stab them. When that's done they leave the same way they came. This is something the player works out in their head before doing anything. It isn't until they have some sort of plan that they start acting.

This plan might not work, the player might fail to sneak up on the guy and then he sound an alarm. In this case the plan breaks, however that doesn't mean that the player's plan was totally untrue. It just meant they didn't manage to pull off one of the actions of. If presented properly, players are okay with this. In the same way, the player might have misinterpreted their mental model or missed something. This is also okay as long as the player can update their mental model in a coherent fashion. And next time the player tries to execute a similar plan they will get better at it.

Often this ability to carry out your plans is what makes the game the most engaging. Usually a game starts out a bit dull, as your mental models are a bit broken and the ability to plan not very good. But then, as you play, this gets better and you start stringing together longer sets of actions and therefore having more fun. This is why tutorials can be so important. They are a great place to get away from that initial dullness by making the experience a bit simpler and guiding the player to think in the correct manner about how the game works.

It's also worth noting that plans should never be too simple to carry out. Then the actions become trivial. There needs to be a certain degree of non-triviality for engagement to remain.

Planning doesn't always need to happen in the long term, it can also be very short term. Take this scene from Super Mario, for instance:



Here the player needs to make a plan in a split second. The important thing to notice here is that the player doesn't simply react blindly. Even in a stressful situation, if the game works as it should, the player quickly formulates a plan and then tries to carry out that plan.

Now compare these two examples to a game like Dear Esther:



There are a lot of things one can like about this game, but I think everybody agrees that the gameplay is lacking. What's harder to agree on, though, is what's missing. I've heard a lot about the lack of fail states and competitive mechanics, but I don't find these convincing. As you might guess, I think the missing ingredient is planning.

The main reason that people find Dear Esther unengaging is not because they cannot fail, or because there is nothing to compete against. It's because the game doesn't allow them to form and execute plans. We need to figure out ways of fixing this.

By thinking about the planning in terms of the SSM-framework we get a hint at what sort of gameplay that can constitute "narrative play": When you form a plan in Mental Model space it is important that the actions are mostly grounded in the data received from Story space. Compare the the following two plans:

1) "First I pick up 10 items to increase the character X's trust meter, this will allow me to reach the 'friendship'-threshold and X will now be part of my crew. This awards me 10 points in range combat bonus."

2) "If I help out X with cleaning her room, I might be able to be friends with her. This would be great as I could then ask her to join us on our journey. She seems like a great sharpshooter and I would feel much safer with her onboard."

This is a fairly simplistic example, but I hope I get the point across. Both of these describe the same plan, but they have vastly different in how the data is interpreted. Number 1 is just all abstract system-space, and the number 2 has a more narrative feel, and is grounded in the story space. When the gameplay is about making plans like the second example, that is when we start to get something that feels like proper narrative play. This is a crucial step in evolving the art of interactive storytelling.

---

I believe thinking about planning is a crucial step in order to get better narrative games. For too long, game design has relied on the planning component arising naturally out of 'standard' gameplay, but when we no longer have that we need to take extra care. It's imperative to understand that it drives gameplay, and therefore that we need to make sure our narrative experiences include this. Planning is by no means a silver bullet, but it's a really important ingredient. It's certainly something that we're putting a lot of thought into when making our future titles here at Frictional Games.



Footnotes:

1) If anyone has other concrete resources describing planning as a fundamental part of games I'd love to hear about them. Please post about them in the comments if you know any.

2) Steve Lee had an excellent lecture called "An Approach to Holistic Level Design" at this year's GDC where he talked a lot about player intentionality. This is another concept closely related to planning.