05 · Understanding Narrative Structures | Generative AI for Game Development
This chapter companion explains how game stories are built as structures that decide who chooses and when. It covers linear, non-linear, branching, modular, nested and emergent designs and where generative AI fits in each.
This video is a companion to the fifth chapter of Generative AI for Game Development by Shesh Narayan Gupta. It pushes back on the idea that game stories are just cutscenes between the action. They are architectures, the video says, structures that decide who gets to choose and when. It walks through the main structures with examples from well-known games and explains how generative AI works inside each one.
Linear and non-linear stories
A linear story is one road that every player walks in the same order. The writer controls tone, pacing and character, and every emotional beat lands where it was placed. God of War is the video's example, a novel you play. Linear is also the easiest shape for AI to follow, since it can generate cutscenes, quests and plot beats without drifting.
Non-linear stories hand the player the pieces out of order. The player explores, investigates and remembers, and the story reassembles itself in their head. Exploration games and detective stories suit this shape, and the joy is discovery and recontextualization, when an old scene suddenly means something new.
Branching narratives and foldbacks
Once the player has a choice, the story branches. A decision tree maps every choice to its consequence, some shallow and some wide enough for a different life. Some games fake the sprawl with foldbacks, where branches split and then funnel back to one point, giving the appearance of choice at a fraction of the cost. The video cites The Witcher 3, where a spared enemy reshapes the ending hours later, and Mass Effect, which mixes deep side branches with one steady spine.
Modular, episodic and nested stories
Modular stories ship in pieces: quests taken in any order, each self-contained. Skyrim and Cyberpunk let players build their own evening from missions. Episodic games release like television, and Life Is Strange told its story in five chapters, each complete. Nested stories sit inside other stories, and BioShock Infinite starts as a rescue and ends as a reckoning with fate, with each layer reframing the one above.
Emergent stories and blends
Emergent stories are never written. Systems collide, such as armies, alliances and accidents, and Mount & Blade players walk away with a war story nobody scripted. Most modern games blend structures. Red Dead Redemption 2 runs a linear spine, hangs modular missions off it, and lets emergent moments interrupt. The video frames the whole set as one trade: agency against control. Linear gives the author everything, emergent gives the player everything, and the rest negotiate the middle.
Two philosophies of authorship
AI Dungeon threw out the script entirely, so the story improvises around whatever the player types, which is emergent narrative on a language model. Bandersnatch went the other way as a hand-built branching film with five endings. The video says AI Dungeon co-authors with you in real time, while Bandersnatch performs authorship and lets you steer. Generative AI works inside these structures: linear keeps it coherent, branching multiplies its variations, and emergent sets it loose.
Key takeaways
- Game stories are structures that decide who gets to choose and when.
- Linear stories trade freedom for control; non-linear stories trade control for discovery.
- Branching stories are decision trees, and foldbacks keep the writing budget manageable.
- Modular and episodic designs release stories in playable pieces.
- Emergent stories come from systems, not scripts.
- Most games blend structures, and each choice trades agency against control.
- Structure shapes emotion and meaning, and it decides what the player believes their choices were worth.
Try it yourself
Paste the video's prompt into Claude with your own game idea. Ask it to pick one narrative structure, linear, non-linear, branching, modular, nested, emergent or blended, after asking you two questions about how much choice your players should have. Then have it sketch the first three story beats and name one trade-off you would accept. Check that the structure matches the amount of choice you described and that the trade-off names something you actually give up. If nothing is sacrificed, the video says, the choice was not real.
Full transcript(auto-generated, with timestamps)
[0:00]Generative AI for game development, understanding narrative structures. Learn the six structures game stories use and how generative AI fills each one. Hello, this is Liam in for Bear. Most players think game stories are just cutscenes between the action. They're not. They're architectures, structures that decide who gets to choose and when. Six terms then we're off. Linear narrative, one fixed path every player in the same order. Non-linear narrative, story pieces in any order the player chooses. Branching narrative, choices split the story into paths. Foldback branches that funnel back to one point. Emergent narrative, unscripted stories from systems colliding. Modular structure, the story in discrete playable units. A linear story is one
[0:41]Road every player walks in the same order. The writer controls tone, pacing, and character. Every emotional beat lands exactly where it was placed. God of War walks Kratos and Atreus down that road deliberately, a novel you play. And linear is the easiest shape for AI to follow. Cutscenes, quests, and paste beats it can generate without drifting. Non-linear stories hand you the pieces out of order. You explore, investigate, remember, and the story reassembles itself in your head. Exploration games, detective stories, mysteries of memory and identity. The joy is discovery and recontextualization. An old scene suddenly meaning something new. Give the player a choice and the story
[1:21]Branches. A decision tree maps every choice to its consequence. Some shallow, some deep and wide enough for a different life. Some games fake the sprawl. Branches split then funnel back to one point. The foldback, the appearance of choice at a fraction of the cost. The Witcher 3 lets a spared enemy reshape the ending hours later. Mass Effect mixes deep side branches with one steady spine. Expression without losing the plot. Modular stories ship in pieces. Quests you take in any order, each self-contained. Skyrim and Cyberpunk let you build your own evening from missions. Episodic games release like television. Life is strange told its story in five chapters, each complete,
[2:02]Each leaving room to argue about what happens next. Nested stories are stories inside stories. BioShock Infinite starts as a rescue and ends as a reckoning with fate. Every layer reframes the one above it. Emergent stories are never written. Systems collide, armies, alliances, accidents and Mount & Blade players walk away with a war story nobody scripted. Most modern games blend. Red Dead Redemption 2 runs a linear spine, hangs modular missions off it, and lets emergent moments crash the party. Six structures, one trade, agency against control. Linear gives the author everything. Emergent gives the player everything. The rest negotiate the middle. AI Dungeon threw out the script
[2:43]Entirely. Type anything and the story improvises around you. Emergent narrative running on a language model. Bandersnatch went the other way, a hand-built branching film with five endings, so carefully choreographed that the story itself starts questioning your choices. Two philosophies side by side. AI Dungeon co-authors with you in real time. Bandersnatch performs authorship and lets you steer. Both hand the player the pen differently. Generative AI doesn't invent stories from nothing. It works inside these structures. Linear keeps it coherent. Branching multiplies its variations. Emergent sets it loose. Structure is a tool, not a restriction. It shapes emotion, engagement, and meaning, and it decides what the player believes their choices
[3:28]Were worth. Let's recap with Claude. Linear stories trade freedom for control. Non-linear ones trade control for discovery. Branching stories are decision trees. Foldbacks keep the budget sane. Modular and episodic structures ship stories in playable pieces. Nested stories reframe what you thought you knew. Emergent ones are never written at all. Most games blend structures, and the chapters tables map the trade-offs. Generative AI slots into every structure. It keeps linear tight, branches wide, and emergent alive. Your turn. Paste this into Claude. I want to design a game about my idea. Help me pick one narrative structure, linear, non-linear, branching, modular, nested, emergent, or blended. Ask me two
[4:09]Questions about how much choice my players should have, then recommend the structure, sketch the first three story beats, and name one trade-off I would be accepting. Then check two things yourself. Does the structure match how much choice you said your players should have? And does the trade-off name something you actually give up? If nothing is sacrificed, the choice wasn't real. Understanding narrative structures at Nick Bear Brown.
More from Generative AI for Game Development — Shesh Narayan Gupta
6:0506 · Types of Interactive Narratives | Generative AI for Game Development
6:3304 · What Is Storytelling? | Generative AI for Game Development
3:3107 · AI Tools and Technologies for Storytelling | Generative AI for Game Development
3:1503 · Purpose and Audience of the Book | Generative AI for Game Development
5:0108 · Ethical and Practical Considerations | Generative AI for Game Development
6:35