Generative AI for Game Development Crafting Narrative Worlds with Machines (Shesh Narayan Gupta)(Z-Library)
ai
Learn how to create images and text using VAEs, GANs, LSTMs, and transformers. Implement applications in natural language processing and computer vision through practical tutorials.
7
Views
0
Downloads
0.00
Total Donations
Registered users can read the full content for free
Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.
Page
1
Generative AI for Game Development Crafting Narrative Worlds with Machines — Shesh Narayan Gupta
Page
2
Generative AI for Game Development Crafting Narrative Worlds with Machines Shesh Narayan Gupta
Page
3
Generative AI for Game Development: Crafting Narrative Worlds with Machines ISBN-13 (pbk): 979-8-8688-2438-8 ISBN-13 (electronic): 979-8-8688-2439-5 https://doi.org/10.1007/979-8-8688-2439-5 Copyright © 2026 by Shesh Narayan Gupta This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights. While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein. Managing Director, Apress Media LLC: Welmoed Spahr Acquisitions Editor: Spandana Chatterjee Coordinating Editor: Gryffin Winkler Cover image by Freepik (www.freepik.com) Distributed to the book trade worldwide by Springer Science+Business Media New York, 1 New York Plaza, New York, NY 10004. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a Delaware LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation. For information on translations, please e-mail booktranslations@springernature.com; for reprint, paperback, or audio rights, please e-mail bookpermissions@springernature.com. Apress titles may be purchased in bulk for academic, corporate, or promotional use. eBook versions and licenses are also available for most titles. For more information, reference our Print and eBook Bulk Sales web page at http://www.apress.com/bulk-sales. Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub (https://github.com/Apress). For more detailed information, please visit https://www. apress.com/gp/services/source-code. If disposing of this product, please recycle the paper Shesh Narayan Gupta Varanasi, Uttar Pradesh, India
Page
4
To my family, past and present, for their endless love, support, and encouragement.
Page
5
(This page has no text content)
Page
6
(This page has no text content)
Page
7
(This page has no text content)
Page
8
(This page has no text content)
Page
9
(This page has no text content)
Page
10
(This page has no text content)
Page
11
(This page has no text content)
Page
12
(This page has no text content)
Page
13
(This page has no text content)
Page
14
(This page has no text content)
Page
15
(This page has no text content)
Page
16
xvii About the Author Shesh Narayan Gupta is a Senior Manager in a financial service organization and holds a master’s degree in data science. With a strong foundation in artificial intelligence and years of professional experience in data-driven problem- solving, he brings a unique perspective to the intersection of technology, creativity, and storytelling. His expertise spans machine learning, generative AI, and the practical application of AI in various industries, including finance, marketing, and education. Shesh’s expertise and contributions in AI have earned him recognition beyond the workplace, including being featured in Times New Square for his mentorship and contributions in data science. As a seasoned data science leader, Shesh Narayan has been at the forefront of leveraging AI technologies to drive innovation and efficiency in real-world scenarios. His hands- on experience guiding AI teams and building production-ready solutions gives him a grounded understanding of how emerging technologies can be applied responsibly and effectively. Beyond his corporate career, he has a deep passion for storytelling and game design, which has led him to explore how generative AI can revolutionize narrative creation, game development, and interactive media.
Page
17
xix Acknowledgments Writing this book has been a journey shaped by the insight, encouragement, and support of many remarkable individuals. I am deeply grateful to everyone who contributed their time, expertise, and inspiration along the way. My sincere thanks go to Professor Nik Bear Brown for sharing his knowledge and thoughtful perspectives, which added depth to the discussion of AI and interactive systems. I am also thankful to Shubhi Saxena, Raghav Kandarpa, and Shivangi Saxena for participating in the interview process. Their experiences and ideas helped ground the book in real-world practice and strengthened several key sections. To my wife, thank you for your patience, encouragement, and constant belief in this project. Your support made the long hours of writing possible. A special acknowledgment goes to my son. His curiosity, laughter, and boundless imagination give my work meaning and inspire me every single day. Your favorite expression, "easy peeze, lemon squezee," stayed with me throughout this journey and reminded me that even the hardest tasks can feel lighter with the right mindset. I am deeply grateful to my parents for their lifelong support, their guidance, and the values they instilled in me. Their encouragement has shaped who I am and made this work possible. To all of you, and to everyone who has supported this work in ways big and small, thank you. Your kindness and belief in this project helped bring this book to life. This work was created for the joy of sharing knowledge and ideas, with the hope that it helps others explore, learn, and create, rather than for any monetary benefit.
Page
18
xxi Introduction Games have always been stories waiting to be played. From branching dialogue and emergent worlds to emotionally responsive characters, the drive to create living, reactive experiences has shaped game development for decades. Generative AI marks a turning point in that evolution. What was once static, scripted, and labor-intensive can now become adaptive, personalized, and endlessly expressive. Generative AI for game development explores how modern AI systems can be used as creative collaborators across interactive experiences. While games remain the primary lens of this book, the techniques, patterns, and design principles extend naturally to related domains such as marketing, education, training simulations, and therapeutic storytelling. Wherever interaction, narrative, and personalization matter, generative AI has a role to play. This book focuses on practical, system-level thinking rather than short-lived tools. Readers will learn how to integrate generative models into storytelling, character behavior, procedural worldbuilding, and adaptive experiences while maintaining narrative coherence, ethical responsibility, and authorial control. Through hands-on examples and progressively built projects, the book demonstrates how AI-driven systems can scale beyond entertainment into real-world applications. As generative AI capabilities accelerate and new tools emerge at an unprecedented pace, understanding foundational concepts becomes essential. This book equips developers, designers, and technologists with the frameworks needed to evaluate evolving AI services, compare capabilities, and apply them confidently across games and other interactive experiences.
Page
19
1 © Shesh Narayan Gupta 2026 S. N. Gupta, Generative AI for Game Development, https://doi.org/10.1007/979-8-8688-2439-5_1 CHAPTER 1 What Is Generative AI? The rapid evolution of artificial intelligence (AI) has reshaped various industries, from software and finance to marketing and game development. Among the most transformative branches of AI is generative AI, a subset of machine learning designed to create original content, such as text, images, music, and even game narratives. For game developers, generative AI presents a new frontier, offering tools to automate worldbuilding, generate dynamic stories, and create adaptive gameplay experiences. The ability to generate, rather than simply analyze, data makes this technology a powerful creative ally for designers, writers, and artists in the gaming industry. This chapter introduces the concept of generative AI, its evolution from simple text-based models to sophisticated multimodal systems, and its applications in game development. By the end of this chapter, readers will have a solid foundational understanding of generative AI and its impact on the future of gaming. Definition of Generative AI Generative AI refers to a class of machine learning models designed to generate new content based on patterns learned from vast datasets. Unlike traditional AI, which primarily focuses on recognition and classification, generative AI excels in creation and innovation.
Page
20
2 Machine Learning Deep Learning Figure 1-1. GenAI is a subset of all For example, traditional AI in games might recognize a player’s movement patterns and adjust enemy difficulty accordingly. In contrast, generative AI can create entirely new levels, write dynamic story elements, or generate unique character dialogues that adapt to the player’s choices. How Does Generative AI Work? Generative AI relies on sophisticated machine learning models to create new content based on patterns learned from large datasets. These models use statistical probabilities and deep learning architectures to simulate creativity and generate realistic outputs across text, images, and other media. Core Machine Learning Techniques in Generative AI Several key models drive generative AI’s capabilities, each using different mathematical and algorithmic approaches. I’ll explain some core models and techniques in generative AI. Chapter 1 What Is GeneratIve aI?
The above is a preview of the first 20 pages. Register to read the complete e-book.
AI Reading Assistant
Whole-book reading guide from stratified index samples; jump to passages in the text
No reading guide yet. Generate it on the full detail page, and it will appear here automatically.
Generate guideRecommended for You
{{#thumbnailUrl}}
{{/thumbnailUrl}}
{{^thumbnailUrl}}
{{/thumbnailUrl}}
Loading recommended books...
Failed to load, please try again later
Tip the Site
Scan the WeChat Pay or Alipay code to tip. No login required.
WeChat Pay
Alipay